Skip to content

Add ability to mask out specific regions of a CCD #143

Description

@martinjohndyer

We have the (m)ask function in setaper, but you can only create a mask if it's linked to an aperture. It came up in a student viva in the case where you have a bright Compo star you actually want to mask out a that specific region of the CCD, notably have it stay static on a given pixel region not move with the aperture.

@vikdhillon @SGParsons and I talked through a few options of how you could block out a section, I think a capital (M)ask pixels might have you somehow click on the plot to black out a region you want to be excluded.

How that would work in practice might be interesting. Ideally it would be part of setaper, or maybe a separate setmask? You'd either have to extend the .ape file definition or have a separate mask file that has to be included in the reduction. Maybe the second would be more reusable, define a compo.msk file? I'm sure there could be other good uses for that. But this is just throwing out ideas, the first thing to do would be to look at how the aperture masks are implemented in the code.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions