extract_flatfield

acstools.utils_calib.extract_flatfield(prihdr, scihdu)

Extract flatfield data from PFLTFILE.

Parameters:
prihdrobj

FITS primary header HDU.

scihduobj

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

Returns:
invflatndarray or None

Inverse flatfield, if any. Multiply this to apply FLATCORR.