MetadataViewer

class jdaviz.configs.default.plugins.metadata_viewer.metadata_viewer.MetadataViewer(*args, **kwargs)[source] [edit on github]

Bases: PluginTemplateMixin, DatasetSelectMixin

See the Metadata Viewer Plugin Documentation for more details.

Only the following attributes and methods are available through the public plugin API:

  • show()

  • open_in_tray()

  • dataset (DatasetSelect): Dataset to expose the metadata.

  • show_primary: Whether to show MEF primary header metadata instead.

  • metadata: Read-only metadata. If the data is loaded from a multi-extension FITS file, this can be the extension header or the primary header, depending on show_primary setting.

Public constructor

Attributes Summary

handle_show_primary

has_comments

A boolean (True, False) trait.

has_metadata

A boolean (True, False) trait.

has_primary

A boolean (True, False) trait.

metadata

An instance of a Python list.

metadata_filter

A trait which allows any value.

show_metadata

show_primary

A boolean (True, False) trait.

template_file

user_api

Methods Summary

find_public_metadata(meta[, primary_only])

reset()

Attributes Documentation

handle_show_primary
has_comments

A boolean (True, False) trait.

has_metadata

A boolean (True, False) trait.

has_primary

A boolean (True, False) trait.

metadata

An instance of a Python list.

metadata_filter

A trait which allows any value.

show_metadata
show_primary

A boolean (True, False) trait.

template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/v3.5.0/lib/python3.9/site-packages/jdaviz/configs/default/plugins/metadata_viewer/metadata_viewer.py', 'metadata_viewer.vue')
user_api

Methods Documentation

find_public_metadata(meta, primary_only=False)[source] [edit on github]
reset()[source] [edit on github]