expand_flat_spec
- jwst.datamodels.utils.flat_multispec.expand_flat_spec(input_model)[source]
Create simple spectra from a flat spectral table.
- Parameters:
- input_model
TSOMultiSpecModel Spectral model containing spectra with a mix of vector columns and metadata columns in the
spec_tableattribute. Metadata columns will be dropped.
- input_model
- Returns:
MultiSpecModelA set of simple spectra, one per extension.