MomentMap#
- class jdaviz.configs.cubeviz.plugins.moment_maps.moment_maps.MomentMap(*args, **kwargs)[source]#
Bases:
PluginTemplateMixin
,DatasetSelectMixin
,SpectralSubsetSelectMixin
,SpectralContinuumMixin
,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
.continuum
(SubsetSelect
): Subset to use for the continuum, orNone
to skip continuum subtraction, orSurrounding
to use a region surrounding the subset set inspectral_subset
.continuum_width
: Width, relative to the overall line spectral region, to fit the linear continuum (excluding the region containing the line). If 1, will use endpoints within line region only.n_moment
output_unit
Choice of “Wavelength” or “Velocity”, applicable for n_moment >= 1.reference_wavelength
Reference wavelength for conversion of output to velocity units.add_results
(AddResults
)
Public constructor
Attributes Summary
A trait for unicode strings.
A boolean (True, False) trait.
A trait for unicode strings.
A boolean (True, False) trait.
Mixin to handle empty integer field.
An instance of a Python list.
An instance of a Python list.
A trait for unicode strings.
A boolean (True, False) trait.
Mixin to handle empty floating point field.
A boolean (True, False) trait.
Methods Summary
calculate_moment
(*args, **kwargs)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
- dataset_spectral_unit#
A trait for unicode strings.
- 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.
- output_radio_items#
An instance of a Python list.
- output_unit_items#
An instance of a Python list.
- output_unit_selected#
A trait for unicode strings.
- overwrite_warn#
A boolean (True, False) trait.
- reference_wavelength#
Mixin to handle empty floating point field.
- slice_display_unit_name#
- template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/latest/lib/python3.11/site-packages/jdaviz/configs/cubeviz/plugins/moment_maps/moment_maps.py', 'moment_maps.vue')#
- user_api#
- uses_active_status#
A boolean (True, False) trait.
Methods Documentation
- calculate_moment(*args, **kwargs)#