mos_spec1d_parser#

jdaviz.configs.mosviz.plugins.parsers.mos_spec1d_parser(app, data_obj, data_labels=None, table_viewer_reference_name='table-viewer')[source]#

Attempts to parse a 1D 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.

Returns:
n_specsint

Number of data objects loaded.