Hello,Chain code extraction would be quite a cool feature for SunPy as well.We have a basic implementation for handling specified chain codes, though it needs work!!https://github.com/sunpy/sunpy/tree/master/sunpy/roiStuart