Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-38120: Add VIGNETTED bit mask #753

Merged
merged 2 commits into from
Nov 12, 2024
Merged

DM-38120: Add VIGNETTED bit mask #753

merged 2 commits into from
Nov 12, 2024

Conversation

parejkoj
Copy link
Contributor

@parejkoj parejkoj commented Nov 8, 2024

No description provided.

@@ -72,6 +72,10 @@ using MaskPlaneDict = std::map<std::string, int>;
* - `INTRP` This pixel has been interpolated over @note should be called `INTERPOLATED`
* - `SAT` This pixel is saturated and has bloomed @note should be called `SATURATED`
* - `SUSPECT` This pixel is untrustworthy, and you may wish to discard any Source containing it
* - `NO_DATA` This pixel could not have received flux, e.g. fully vignetted, no available flux from coadd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* - `NO_DATA` This pixel could not have received flux, e.g. fully vignetted, no available flux from coadd
* - `NO_DATA` This pixel received little or no flux, e.g. fully vignetted, no available flux from coadd

It's usually useful to start setting this mask plane before the flux level drops all the way to zero.

@@ -72,6 +72,10 @@ using MaskPlaneDict = std::map<std::string, int>;
* - `INTRP` This pixel has been interpolated over @note should be called `INTERPOLATED`
* - `SAT` This pixel is saturated and has bloomed @note should be called `SATURATED`
* - `SUSPECT` This pixel is untrustworthy, and you may wish to discard any Source containing it
* - `NO_DATA` This pixel could not have received flux, e.g. fully vignetted, no available flux from coadd
* input exposures.
* - `VIGNETTED` This pixel is in a vignetted region, and has received less than 75% of the expected
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do think it'd be better to leave the actual number to ISR configuration.

Also add doc note for NO_DATA, which was missing (though nobody reads
this docstring anyway).
@parejkoj parejkoj merged commit 9726552 into main Nov 12, 2024
2 checks passed
@parejkoj parejkoj deleted the tickets/DM-38120 branch November 12, 2024 18:03
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