- UniformGridFilters.low_pass(x_cutoff, y_cutoff, z_cutoff, order=1, output_scalars_name=None, progress_bar=False)#
Perform a Butterworth low pass filter in the frequency domain.
UniformGridFilters.rfft()filter can be used to convert the output back into the spatial domain. This filter attenuates high frequency components. Input and output are complex arrays with datatype
The frequencies of the input assume standard order: along each axis first positive frequencies are assumed from 0 to the maximum, then negative frequencies are listed from the largest absolute value to smallest. This implies that the corners of the grid correspond to low frequencies, while the center of the grid corresponds to high frequencies.
The cutoff frequency for the x axis.
The cutoff frequency for the y axis.
The cutoff frequency for the z axis.
The order of the cutoff curve. Given from the equation
1 + (cutoff/freq(i, j))**(2*order).
The name of the output scalars. By default, this is the same as the active scalars of the dataset.
Display a progress bar to indicate progress.
See Fast Fourier Transform with Perlin Noise for a full example using this filter.