MomentMap#
- class jdaviz.configs.cubeviz.plugins.moment_maps.moment_maps.MomentMap(*args, **kwargs)[source]#
Bases:
PluginTemplateMixin,DatasetSelectMixin,SpectralSubsetSelectMixin,SpectralContinuumMixin,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.continuum(SubsetSelect): Subset to use for the continuum, orNoneto skip continuum subtraction, orSurroundingto use a region surrounding the subset set inspectral_subset.continuum_dataset(DatasetSelect): Dataset of the extracted 1D spectrum to use when visualizing the continuum. The continuum will be redetermined based on the input cube (dataset) when computing the moment map.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_momentoutput_unitChoice of “Wavelength” or “Velocity”, applicable for n_moment >= 1.reference_wavelengthReference wavelength for conversion of output to velocity units.add_results(AddResults)
Public constructor
Attributes Summary
An instance of a Python list.
A trait for unicode strings.
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.
Mixin to handle empty floating point 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.
Attributes Documentation
- continuum_dataset_items#
An instance of a Python list.
- continuum_dataset_selected#
A trait for unicode strings.
- 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.
- moment_zero_unit#
- 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.
- reference_wavelength#
Mixin to handle empty floating point field.
- slice_display_unit_name#
- spectral_unit_selected#
- template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/3978/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