mos_spec2d_parser

jdaviz.configs.mosviz.plugins.parsers.mos_spec2d_parser(app, data_obj, data_labels=None, add_to_table=True, show_in_viewer=False)[source] [edit on github]

Attempts to parse a 2D spectrum object.

Parameters
appApplication

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.

Notes

This currently only works with JWST-type data in which the data is in the second hdu of the fits file.