MomentMap
- class jdaviz.configs.cubeviz.plugins.moment_maps.moment_maps.MomentMap(*args, **kwargs)[source] [edit on github]
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:
dataset
(DatasetSelect
): Dataset to use for computing line statistics.spectral_subset
(SubsetSelect
): Subset to use for the line, orEntire Spectrum
.n_moment
add_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/envs/v3.5.0/lib/python3.9/site-packages/jdaviz/configs/cubeviz/plugins/moment_maps/moment_maps.py', 'moment_maps.vue')
- user_api
Methods Documentation
- calculate_moment(add_data=True)[source] [edit on github]
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] [edit on github]
- vue_overwrite_fits(*args)[source] [edit on github]
Attempt to force writing the moment map if the user confirms the desire to overwrite.
- vue_save_as_fits(*args)[source] [edit on github]