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
JWST Unset DQ Flags #213
Comments
This should probably just be |
Sounds good, I've opened #217 to try and at least fix the DQ bit bug in the short term. Can you specify what you mean by wanting "to use this" for snowballs/CRs? I think you are suggesting potentially implementing a |
With #217 merged I think this issue is mostly resolved. |
I wanted to clear up some confusion about the default DQ bits unset by grizli for JWST processing.
Currently the pipeline will unset the bits of the result of
1+4+6+32768
orb1000000000001011
:grizli/grizli/prep.py
Lines 6477 to 6478 in 0d5c454
As 6 is not a power of 2, this has the effect of unsettling bits in positions 0, 1, 3, and 15 which correspond to flags:
DO_NOT_USE, SATURATED, DROPOUT and TELEGRAPH.
I have the following questions:
bits
parameter. Is this a mistake where the desired bits to unset are in position 1 and 2 or perhaps 3 and 3? Is this a mistake or the intended behavior?The text was updated successfully, but these errors were encountered: