GaussianSmooth
- class jdaviz.configs.default.plugins.gaussian_smooth.gaussian_smooth.GaussianSmooth(*args, **kwargs)[source] [edit on github]
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.
Use astropy convolution machinery to smooth the spatial dimensions of the data cube.
Smooth the input spectrum along the spectral axis.
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/v3.4.0/lib/python3.9/site-packages/jdaviz/configs/default/plugins/gaussian_smooth/gaussian_smooth.py', 'gaussian_smooth.vue')
- user_api
Methods Documentation
- smooth(add_data=True)[source] [edit on github]
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()[source] [edit on github]
Use astropy convolution machinery to smooth the spatial dimensions of the data cube. To add the resulting cube into the app, set label options and use
smooth()
instead.- Returns:
- cube
Spectrum1D
The smoothed cube
- cube
- spectral_smooth()[source] [edit on github]
Smooth the input spectrum along the spectral axis. To add the resulting spectrum into the app, set label options and use
smooth()
instead.- Returns:
- spec
Spectrum1D
The smoothed spectrum
- spec
- vue_apply(event={})[source] [edit on github]