MomentMap#

class jdaviz.configs.cubeviz.plugins.moment_maps.moment_maps.MomentMap(*args, **kwargs)[source]#

Bases: PluginTemplateMixin, DatasetSelectMixin, SpectralSubsetSelectMixin, AddResultsMixin

See the Moment Maps Plugin Documentation for more details.

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

Public constructor

Attributes Summary

export_enabled

A boolean (True, False) trait.

filename

A trait for unicode strings.

moment_available

A boolean (True, False) trait.

n_moment

Mixin to handle empty integer field.

overwrite_warn

A boolean (True, False) trait.

template_file

user_api

Methods Summary

calculate_moment([add_data])

Calculate the moment map

vue_calculate_moment(*args)

vue_overwrite_fits(*args)

Attempt to force writing the moment map if the user confirms the desire to overwrite.

vue_save_as_fits(*args)

Attributes Documentation

export_enabled#

A boolean (True, False) trait.

filename#

A trait for unicode strings.

moment_available#

A boolean (True, False) trait.

n_moment#

Mixin to handle empty integer field.

overwrite_warn#

A boolean (True, False) trait.

template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/v3.7.0/lib/python3.11/site-packages/jdaviz/configs/cubeviz/plugins/moment_maps/moment_maps.py', 'moment_maps.vue')#
user_api#

Methods Documentation

calculate_moment(add_data=True)[source]#

Calculate the moment map

Parameters:
add_databool

Whether to add the resulting data object to the app according to add_results.

vue_calculate_moment(*args)[source]#
vue_overwrite_fits(*args)[source]#

Attempt to force writing the moment map if the user confirms the desire to overwrite.

vue_save_as_fits(*args)[source]#