add_calfac_keys

sofia_redux.calibration.pipecal_util.add_calfac_keys(header, config)[source]

Add calibration-related keywords to a header.

The following keys are added or updated: PROCSTAT, BUNIT, CALFCTR, ERRCALF, LAMREF, LAMPIVOT, COLRCORR, REFCALZA, REFCALAW, REFCALWV, and REFCALF3.

Parameters:
headerastropy.io.fits.header.Header

The FITS header to update.

configdict-like

Calibration configuration values, as produced by pipecal.pipecal_config.pipecal_config.