apply_atran¶
- sofia_redux.instruments.fifi_ls.telluric_correct.apply_atran(hdul, atran, cutoff=0.6, skip_corr=False, unsmoothed=None)[source]¶
Apply transmission data to data in an HDUList.
- Parameters:
- hdulfits.HDUList
- atrannumpy.ndarray
(2, nwave) where [0, :] = wavelength and [1, :] = transmission
- cutofffloat, optional
Used as the fractional transmission below which data will be set to NaN. Set to 0 to keep all data.
- skip_corrbool, optional
If set, telluric correction will not be applied, but ATRAN spectra will still be attached to the output file.
- unsmoothednumpy.ndarray, optional
Unsmoothed transmission to attach to output file. (2, nwave) where [0, :] = wavelength and [1, :] = transmission
- Returns:
- fits.HDUList