quality_control.diagnostics.level0
Diagnostics for KPF Level 0 (raw CCD) data products.
Pointing/identity checks that cross-match the telescope pointing (RA/DEC) against three reference positions: the loaded DCS target (TARGRA/DEC), the Gaia DR3 catalog position of GAIAID, and the SIMBAD position of the OBJECT name. All three metrics are fail-soft: a frame with no pointing/target (e.g. a calibration frame) skips them, and a Gaia/SIMBAD lookup failure warns and skips rather than failing the L0 checkpoint. Diagnostics that read the overscan region (read noise, non-Gaussian RN) are owned by ImageAssembly because they need to run before gain conversion modifies the amp data.
- class kpfpipe.quality_control.diagnostics.level0.DiagL0(kpf_obj)
Bases:
Diagnostics- LEVEL = 'L0'
- gaia_ra_dec_offset()
GAIAOFF: arcsec, RA/DEC pointing vs GAIAID position at obs epoch.
Skipped when the frame has no pointing or no usable GAIAID; a Gaia network/lookup failure warns and skips (fail-soft).
- object_ra_dec_offset()
OBJOFF: arcsec, RA/DEC pointing vs SIMBAD(OBJECT) position at obs epoch.
Skipped when the frame has no pointing or no OBJECT name; a SIMBAD network/lookup failure (or an unresolvable name) warns and skips.
- target_ra_dec_offset()
TARGOFF: arcsec, RA/DEC pointing vs TARGRA/DEC target at obs epoch.
Skipped when the frame has no pointing or no DCS target (e.g. a calibration frame).