Skip to content

Cutout data but also WCS #580

Description

@HealthyPear

If I am not wrong this package is missing the equivalent of

https://docs.astropy.org/en/stable/nddata/utils.html#saving-a-2d-cutout-to-a-fits-file-with-an-updated-wcs

Am I right?

The regions.RegionMask.cutout methods makes a cutout only of the data, but not of the WCS (that might come with it?).

Is this a bug or design choice?

Does it make sense to update that method to use astropy.nddata.Cutout2D with e.g. an optional keyword argument?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions