UniformGridFilters.gaussian_smooth(radius_factor=1.5, std_dev=2.0, scalars=None, preference='points', progress_bar=False)[source]#

Smooth the data with a Gaussian kernel.

radius_factorfloat or iterable, optional

Unitless factor to limit the extent of the kernel.

std_devfloat or iterable, optional

Standard deviation of the kernel in pixel units.

scalarsstr, optional

Name of scalars to process. Defaults to currently active scalars.

preferencestr, optional

When scalars is specified, this is the preferred array type to search for in the dataset. Must be either 'point' or 'cell'.

progress_barbool, optional

Display a progress bar to indicate progress.


Uniform grid with smoothed scalars.