BandPassFilter#

class BandPassFilter(lowpass=None, highpass=None, sampling_rate=1, use_gaussian=True, return_real_fourier=False, shape_is_real_fourier=False)[source]#

Bases: object

Generate bandpass filters in Fourier space.

Parameters:
lowpassfloat, optional

The lowpass cutoff, defaults to None.

highpassfloat, optional

The highpass cutoff, defaults to None.

sampling_rateTuple[float], optional

The sampling r_position_to_molmapate in Fourier space, defaults to 1.

use_gaussianbool, optional

Whether to use Gaussian bandpass filter, defaults to True.

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.

Methods

BandPassFilter.discrete_bandpass(shape, ...)

Generate a bandpass filter using discrete frequency cutoffs.

BandPassFilter.gaussian_bandpass(shape, ...)

Generate a bandpass filter using Gaussians.