apply_response

sofia_redux.instruments.fifi_ls.flux_calibrate.apply_response(hdul, response)[source]

Apply response data to data in an HDUList.

Parameters:
hdulfits.HDUList
responsenumpy.ndarray

(3, nwave) where [0, :] = wavelength and [1, :] = response data, and [2, :] = response error.

Returns:
fits.HDUList