spec2d_1d_parser
- jdaviz.configs.specviz2d.plugins.parsers.spec2d_1d_parser(app, data_obj, data_label=None, show_in_viewer=True)[source] [edit on github]
Generate a quicklook 1D spectrum from an input 2D spectrum by summing over the cross-dispersion axis.
- Parameters
- app
Application
The application-level object used to reference the viewers.
- data_objstr or list or spectrum-like
File path, list, or spectrum-like object to be read as a new row in the mosviz table.
- data_labelsstr, optional
The label applied to the glue data component.
- app
Notes
This currently only works with JWST-type data in which the data is in the second hdu of the fits file.