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 above saturation set grouped 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 (use only these pixels for correction) , DO_NOT_USE (do not use these reference pixel) none
FIRSTFRAME NA none groupdq: DO_NOT_USE
LASTFRAME NA none groupdq: DO_NOT_USE
LINEARITY NO_LIN_CORR groupdq: SATURATED (correct up to saturation) propagate NO_LIN_CORR to pixels (no linearity correction apply to these pixels)
DARK_CURRENT NA none none
RSCD NA groupdq: SATURATED (algorithm needs to know if saturated uses difference correction none
PERSISTENCE trapdensity: pixeldq: DO_NOT_USE (traps =0) groupdq:JUMP_DET & SATURATED pixeldq: DO_NOT_USE for pixels with large 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 pixeldq: NO_FLAT_FIELD or 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 none none
IMPRINT_SUBTRACT NA none none
MSA_FLAGGING NA pixeldq: MSA_FAILED_OPEN none
STRAYLIGHT NA pixeldq: HOT, DEAD (need to add pixels: DO_NOT_USE) 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 (need to add JUMP_DET from OUTLIER rejection and NO_FLAT_FIELD and UNRELIABLE_FLAT) 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 NA none none
TWEAKREG pixeldq: NON_SCIENCE (pixels excluded from catalog)
OUTLIER_DETECTION NA pixeldq: JUMP_DET