separate_oned_spectra#
- niriss_tools.pipeline.separate_oned_spectra(mb, tfit=None)[source]#
Extract 1D spectra for each grism, e.g. GR150R/GR150C.
The standard 1D spectra derived by grizli combine all position angles and grisms. This allows the output to be used directly with codes such as jwstwfss/line-finding (Nedkova+26).
- Parameters:
- mb
MultiBeam The grizli-extracted multiple beams object.
- tfit
dictorNone Dictionary of fit results (templates, coefficients, etc) from
template_at_z.
- mb
- Returns:
fits.HDUListFITS version of the 1D spectrum tables.