parse_data

jdaviz.configs.cubeviz.plugins.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
appApplication

The application-level object used to reference the viewers.

file_pathstr

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.