BandPassFilter.gaussian_bandpass#

static BandPassFilter.gaussian_bandpass(shape, lowpass, highpass, sampling_rate, return_real_fourier=False, shape_is_real_fourier=False, **kwargs)[source]#

Generate a bandpass filter using Gaussians.

Parameters:
shapetuple of int

The shape of the bandpass filter.

lowpassfloat

The lowpass cutoff in units of sampling rate.

highpassfloat

The highpass cutoff in units of sampling rate.

sampling_ratefloat

The sampling rate in Fourier space.

return_real_fourierbool, optional

Whether to return only the real Fourier space, defaults to False.

shape_is_real_fourierbool, optional

Whether the shape represents the real Fourier space, defaults to False.

**kwargsdict

Additional keyword arguments.

Returns:
BackendArray

The bandpass filter in Fourier space.