Skip to content

Conversation

wtbarnes
Copy link
Member

This addresses part of the refactor of sunpy.map.GenericMap on top of ndcube.NDCube. See Map-NDCube Refactor (view) for more details.

This adds a correction factor for rebinning to the CD matrix in the resulting FITS WCS upon unwrapping. Additionally, this adds the correction to the non-diagonal PC matrix elements consistent with what is done in sunpy.map.GenericMap.superpixel, i.e. https://github.com/sunpy/sunpy/blob/1a2f071811327e03c0c92914f30bbbdadebd02fb/sunpy/map/mapbase.py#L2293-L2295.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants