Skip to content

Commit c0442f7

Browse files
Update reserved dq flag for outlier detection
These are changes made by spacetelescope/romancal#981
1 parent 57494d9 commit c0442f7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/roman_datamodels/dqflags.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@
2626
class pixel(IntEnum):
2727
"""Pixel-specific data quality flags"""
2828

29-
GOOD = 0 # No bits set, all is good
30-
DO_NOT_USE = 2**0 # Bad pixel. Do not use.
31-
SATURATED = 2**1 # Pixel saturated during exposure
32-
JUMP_DET = 2**2 # Jump detected during exposure
33-
DROPOUT = 2**3 # Data lost in transmission
34-
GW_AFFECTED_DATA = 2**4 # Data affected by the GW read window
35-
PERSISTENCE = 2**5 # High persistence (was RESERVED_2)
36-
AD_FLOOR = 2**6 # Below A/D floor (0 DN, was RESERVED_3)
37-
RESERVED_4 = 2**7 #
38-
UNRELIABLE_ERROR = 2**8 # Uncertainty exceeds quoted error
39-
NON_SCIENCE = 2**9 # Pixel not on science portion of detector
29+
GOOD = 0 # No bits set, all is good
30+
DO_NOT_USE = 2**0 # Bad pixel. Do not use.
31+
SATURATED = 2**1 # Pixel saturated during exposure
32+
JUMP_DET = 2**2 # Jump detected during exposure
33+
DROPOUT = 2**3 # Data lost in transmission
34+
GW_AFFECTED_DATA = 2**4 # Data affected by the GW read window
35+
PERSISTENCE = 2**5 # High persistence (was RESERVED_2)
36+
AD_FLOOR = 2**6 # Below A/D floor (0 DN, was RESERVED_3)
37+
OUTLIER = 2**7 # Flagged by outlier detection (was RESERVED_4)
38+
UNRELIABLE_ERROR = 2**8 # Uncertainty exceeds quoted error
39+
NON_SCIENCE = 2**9 # Pixel not on science portion of detector
4040
DEAD = 2**10 # Dead pixel
4141
HOT = 2**11 # Hot pixel
4242
WARM = 2**12 # Warm pixel

0 commit comments

Comments
 (0)