parse_data
- jdaviz.configs.cubeviz.plugins.parsers.parse_data(app, file_obj, data_type=None, data_label=None)[source] [edit on github]
Attempts to parse a data file and auto-populate available viewers in cubeviz.
- Parameters
- app
Application
The application-level object used to reference the viewers.
- file_objstr
The path to a cube-like data file.
- data_typestr, {‘flux’, ‘mask’, ‘uncert’}
The data type used to explicitly differentiate parsed data.
- data_labelstr, optional
The label to be applied to the Glue data component.
- app