filters#

Pattern filters used on signals, e.g. for pattern averaging.

Functions

distance_to_origin(shape[, origin])

Return the distance to the window origin in pixels.

highpass_fft_filter(shape, cutoff[, ...])

Return a frequency domain high-pass filter transfer function in 2D.

lowpass_fft_filter(shape, cutoff[, cutoff_width])

Return a frequency domain low-pass filter transfer function in 2D.

modified_hann(Nx)

Return a 1D modified Hann window with the maximum value normalized to 1.

Classes

Window([window, shape])

A window/kernel/mask/filter of a given shape with some values.