gaussian_smooth#
- UniformGrid.gaussian_smooth(radius_factor=1.5, std_dev=2.0, scalars=None, preference='points', progress_bar=False)#
Smooth the data with a Gaussian kernel.
- Parameters
- radius_factor
float
or iterable,optional
Unitless factor to limit the extent of the kernel.
- std_dev
float
or iterable,optional
Standard deviation of the kernel in pixel units.
- scalars
str
,optional
Name of scalars to process. Defaults to currently active scalars.
- preference
str
,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.
- radius_factor
- Returns
pyvista.UniformGrid
Uniform grid with smoothed scalars.