apply_flat_to_hdul

sofia_redux.instruments.fifi_ls.apply_static_flat.apply_flat_to_hdul(hdul, flatdata, skip_err=True)[source]

Divide extension data by static flat. Update header.

Parameters:
hdulfits.HDUList
flatdata4-tuple of numpy.ndarray
skip_errbool, optional
Returns:
fits.HDUList