Gaussian Smooth#
Plugin Availability
The plugin will be visible when at least one compatible dataset is loaded.
Smooth spectra or cubes using a Gaussian kernel.
Description#
The Gaussian Smooth plugin applies Gaussian smoothing to spectroscopic data, reducing noise while preserving overall spectral features. Smoothing can be applied along the spectral axis or spatial axes.
Key Features:
Smooth 1D spectra or 3D cubes
Configurable smoothing width (stddev)
Spectral or spatial axis smoothing
Uncertainty propagation
Preview before applying
UI Access#
Control data and subset layer order and visibility for each viewer. Toggle layer visibility, reorder layers by dragging, and manage which data appears in the viewer.
dm = jd.viewers[viewer].data_menu
Click the Gaussian Smooth icon in the plugin toolbar to open.
API Access#
plg = app.plugins['Gaussian Smooth']
plg.dataset = 'spectrum'
plg.stddev = 3.0 # Standard deviation in pixels
plg.smooth()
API References#
- Only the following attributes and methods are available through the
-
dataset(DatasetSelect): Dataset to use for computing line statistics.mode(SelectPluginComponent) Only available for Cubeviz. Whether to use spatial or spectral smoothing.stddevStandard deviation of the gaussian to use for smoothing.add_results(AddResults)
For detailed API documentation, see GaussianSmooth.
See Also#
Gaussian Smooth - Detailed Specviz documentation on Gaussian smoothing