Skip to content

Commit

Permalink
Update reserved dq flag for outlier detection
Browse files Browse the repository at this point in the history
These are changes made by spacetelescope/romancal#981
  • Loading branch information
WilliamJamieson committed Dec 22, 2023
1 parent 94c8faf commit 06083c0
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/roman_datamodels/dqflags.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
class pixel(IntEnum):
"""Pixel-specific data quality flags"""

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

0 comments on commit 06083c0

Please sign in to comment.