extract_flash
- acstools.utils_calib.extract_flash(prihdr, scihdu)
Extract postflash data from
FLSHFILE
.- Parameters:
prihdr (obj) – FITS primary header HDU.
scihdu (obj) – Extension HDU of the science image. This is only used to extract subarray data.
- Returns:
flash – Postflash, if any. Subtract this to apply
FLSHCORR
.- Return type:
ndarray or
None