get_flat¶
- sofia_redux.instruments.fifi_ls.apply_static_flat.get_flat(header)[source]¶
Return flat data table
- Parameters:
- headerfits.Header
Information from the header will be used to determine the correct default.
- Returns:
- filename, spat_flat, spec_flat, spec_wave, spec_err
- filenamestr
Used to update FLATFILE header keyword
- spat_flatnumpy.ndarray
Spatial flat (nwave, nspaxel, nspexel)
- spec_flatnumpy.ndarray
Spectral flat (nwave, nspaxel, nspexel)
- spec_wavenumpy.ndarray
Spectral wavelengths (nwave)
- spec_errnumpy.ndarray
Error at each wavelength (nwave)