parse_data#

jdaviz.configs.imviz.plugins.parsers.parse_data(app, file_obj, ext=None, data_label=None, parent=None)[source]#

Parse a data file into Imviz.

Parameters:
appApplication

The application-level object used to reference the viewers.

file_objstr or obj

The path to an image data file or FITS HDUList or image object.

extstr, tuple, or None, optional

FITS extension, if given. Examples: 'SCI' or ('SCI', 1)

data_labelstr, optional

The label to be applied to the Glue data component.