extract_flash

acstools.utils_calib.extract_flash(prihdr, scihdu)

Extract postflash data from FLSHFILE.

Parameters:
prihdrobj

FITS primary header HDU.

scihduobj

Extension HDU of the science image. This is only used to extract subarray data.

Returns:
flashndarray or None

Postflash, if any. Subtract this to apply FLSHCORR.