specviz_spectrum1d_parser#
- jdaviz.configs.specviz.plugins.parsers.specviz_spectrum1d_parser(app, data, data_label=None, format=None, show_in_viewer=True, concat_by_file=False)[source]#
Loads a data file or
Spectrum1D
object into Specviz.- Parameters:
- datastr,
Spectrum1D
, orSpectrumList
Spectrum1D, SpectrumList, or path to compatible data file.
- data_labelstr
The Glue data label found in the
DataCollection
.- formatstr
Loader format specification used to indicate data format in
read
io method.- concat_by_filebool
If True and there is more than one available extension, concatenate the extensions within each spectrum file passed to the parser and add a concatenated spectrum to the data collection.
- datastr,