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:

Public constructor

Attributes Summary

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

user_api

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:
specSpectrum1D

The smoothed spectrum or data cube

spatial_smooth(*args, **kwargs)#
spectral_smooth(*args, **kwargs)#
vue_apply(event={})[source]#