GaussianSmooth#
- class jdaviz.configs.default.plugins.gaussian_smooth.gaussian_smooth.GaussianSmooth(*args, **kwargs)[source]#
Bases:
PluginTemplateMixin
,DatasetSelectMixin
,AddResultsMixin
See the Gaussian Smooth 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.mode
(SelectPluginComponent
): Only available for Cubeviz. Whether to use spatial or spectral smoothing.stddev
: Standard deviation of the gaussian to use for smoothing.add_results
(AddResults
)
Public constructor
Attributes Summary
An instance of a Python list.
A trait for unicode strings.
A boolean (True, False) trait.
A boolean (True, False) trait.
Mixin to handle empty floating point field.
Methods Summary
smooth
([add_data])Smooth according to the settings in the plugin.
spatial_smooth
(*args, **kwargs)spectral_smooth
(*args, **kwargs)vue_apply
([event])Attributes Documentation
- mode_items#
An instance of a Python list.
- mode_selected#
A trait for unicode strings.
- selected_data_is_1d#
A boolean (True, False) trait.
- show_modes#
A boolean (True, False) trait.
- stddev#
Mixin to handle empty floating point field.
- template_file = ('/home/docs/checkouts/readthedocs.org/user_builds/jdaviz/envs/latest/lib/python3.11/site-packages/jdaviz/configs/default/plugins/gaussian_smooth/gaussian_smooth.py', 'gaussian_smooth.vue')#
- user_api#
Methods Documentation
- smooth(add_data=True)[source]#
Smooth according to the settings in the plugin.
- Parameters:
- add_databool
Whether to add the resulting trace to the application, according to the options defined in the plugin.
- Returns:
- spec
Spectrum1D
The smoothed spectrum or data cube
- spec
- spatial_smooth(*args, **kwargs)#
- spectral_smooth(*args, **kwargs)#