Skip to content

Refactor image_masking to be more clear so that image masking per instrument can be actualized. #142

@emirkmo

Description

@emirkmo

Image masking code is hard to understand and test, refactor the code to make the functions explain each step

  • (initialize mask, check for finite, mask_non_linear, ensure there is a mask in the image, update image mask, etc.)

Goal: Change image masking to be more flexible per instrument, especially to deal with really crappy instruments/reductions sometimes used by @lgalbany

This issue should enable a more robust/custom per instrument masking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions