Skip to content

DQ Flags

Jane Morrison edited this page Jun 10, 2019 · 22 revisions

DQ FLAGS for CAL_DETECTOR1 Pipeline

Step DQ Flag read from Reference File DQ flag used that was set in a previous step DQ flag set
DQ Init All Flags set in Mask Ref File NA pixeldq: DO_NOT_USE, REFERENCE_PIXEL, HOT, DEAD, RC, WARM, TELEGRAPH, UNRELIALBE_SLOPE, OPEN, OPEN_ADJ, MSA_FAILED_OPEN
SATURATION NO_SAT_CHECK none 1. For all groups saturated groupdq set to SATURATED 2. propagate NO_SAT_CHECK to pixeldq (no saturation check on these pixels)
Super Bias NA none none
REFPIX NA pixeldq: REFERENCE_PIXEL, DO_NOT_USE (reference pixel) none
FIRSTFRAME NA none groupdq: DO_NOT_USE
LASTFRAME NA none groupdq: DO_NOT_USE
LINEARITY NO_LIN_CORR grouped: SATURATED propagate NO_LIN_CORR to pixels (no linearity correction apply to these pixels)
DARK_CURRENT NA none none
RSCD NA groupdq: SATURATED none
PERSISTENCE
JUMP NO_GAIN_VALUE groupdq: SATURATED, DO_NOT_USE groupdq: JUMP_DET
RAMP_FIT NA groupdq: DO_NOT_USE, SATURATED, JUMP_DET, pixeldq: UNRELIABLE_SLOPE (SHOULD this be changed to DO_NOT_USE Flags set in Rate files: propagate pixeldq (only ?)
GAIN_SCALE NA none none

DQ FLAGS for LEVEL2 Pipeline

Step DQ Flag read from Reference File DQ flag used that was set in a previous step DQ flag set
FLAT_FIELD NO_FLAT_FIELD, UNRELIABLE_FLAT propagate NO_FLAT_FIELD, UNRELIABLE_FLAT to pixeldq (flat of 1 applied to pixels)
PHOTOM pixeldq:NON_SCIENCE pixeldq:DO_NOT_USE propagate NON_SCIENCE to pixels (no conversion done)
RESAMPLE
BACKGROUND NA noen none
IMPRINT_SUBTRACT NA none none
MSA_FLAGGING NA pixeldq: MSA_FAILED_OPEN none
STRAYLIGHT NA pixeldq: HOT, DEAD none
FRINGE NA none none
PATHLOSS NA none none
BARSHADOW NA none none
RESAMPLE_SPEC
CUBE_BUILD NA pixeldq of DO_NOT_USE, NON_SCIENCE not used in cube_building TBD
EXTRACT_1D NA pixeldq: DO_NOT_USE (not used in extraction) none
EXTRACT_2D NA none none

DQ FLAGS for LEVEL3 Pipeline

Step DQ Flag read from Reference File DQ flag used that was set in a previous step DQ flag set
MASTER BACKGROUND NA pixels: DO_NOT_USE set pixels: DO_NOT_USE but we need to add a flag NO_BACKGROUND instead
MRS_IMATCH
TWEAKREG pixeldq NON_SCIENCE
Clone this wiki locally