mos_image_parser#

jdaviz.configs.mosviz.plugins.parsers.mos_image_parser(app, data_obj, data_labels=None, share_image=0, image_viewer_reference_name='image-viewer')[source]#

Attempts to parse an image-like object or list of images.

Parameters:
appApplication

The application-level object used to reference the viewers.

data_objstr or list or image-like

File path, list, or image-like object to be read as a new row in the mosviz table.

data_labelsstr, optional

The label applied to the glue data component.

share_imageint, optional

If 0, images are treated as applying to individual spectra. If non-zero, a single image will be shared by multiple spectra so that clicking a different row in the table does not reload the displayed image. Currently, if non-zero, the provided number must match the number of spectra.