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:

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()

Use astropy convolution machinery to smooth the spatial dimensions of the data cube.

spectral_smooth()

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.2.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
specSpectrum1D

The smoothed spectrum or data cube

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
cubeSpectrum1D

The smoothed 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
specSpectrum1D

The smoothed spectrum

vue_apply(event={})[source] [edit on github]