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

Add bad pixel flags to extra.calibration #172

Merged
merged 5 commits into from
May 15, 2024
Merged

Add bad pixel flags to extra.calibration #172

merged 5 commits into from
May 15, 2024

Conversation

takluyver
Copy link
Member

The definitions are copied from pycalibration.

@takluyver takluyver added the enhancement New feature or request label May 7, 2024
@takluyver takluyver requested a review from philsmt May 7, 2024 13:59
The calibration pipeline produces masks along with corrected data, in keys
called `image.mask` or `data.mask` depending on the detector. Zeros in the mask
represent good pixels, while any other value indicates one or more reasons to
consider the corresponding data dubious:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would prefer as neutral wording as possible, given some bits simply mean to inform about a peculiarity like NON_STANDARD_SIZE. Maybe conspicuous? (just grabbing that from a dictionary)

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point, I've had a go at rewording this.

Are you happy with the subheading remaining 'Bad pixel values' if we give more nuance in the description, or do you think that needs to change too?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I suspect that term is just too established to change now 🤷

@philsmt
Copy link
Collaborator

philsmt commented May 14, 2024

That should help, thanks. LGTM.

@takluyver takluyver merged commit 5b1a0dd into master May 15, 2024
6 checks passed
@takluyver takluyver deleted the badpix branch May 15, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants