Preprocessor.gaussian_filter#

Preprocessor.gaussian_filter(template, sigma, cutoff_value=4.0)[source]#

Convolve an atomic structure with a Gaussian kernel.

Parameters:
templateNDArray

Input data.

sigmafloat or tuple of floats

The standard deviation of the Gaussian kernel along one or all axes.

cutoff_valuefloat, optional

Truncates the Gaussian kernel at cutoff_values times sigma.

Returns:
NDArray

Gaussian filtered template.