MomentMap#
- class jdaviz.configs.cubeviz.plugins.moment_maps.moment_maps.MomentMap(*args, **kwargs)[source]#
Bases:
PluginTemplateMixin,DatasetSelectMixin,SpectralSubsetSelectMixin,AddResultsMixinSee the Moment Maps Plugin Documentation for more details.
Only the following attributes and methods are available through the public plugin API:
dataset(DatasetSelect): Dataset to use for computing line statistics.spectral_subset(SubsetSelect): Subset to use for the line, orEntire Spectrum.n_momentadd_results(AddResults)
Public constructor
Attributes Summary
A trait for unicode strings.
A boolean (True, False) trait.
Mixin to handle empty integer field.
A boolean (True, False) trait.
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
- 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-javerbukh/envs/latest/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.