BandPass#

class BandPass(angles, lowpass=None, highpass=None, shape=None, tilt_axis=0, opening_axis=2, sampling_rate=1, use_gaussian=True, return_real_fourier=False)[source]#

Bases: ComposableFilter

Generate per-slice Fourier Bandpass filter

Attributes

BandPass.highpass

The highpass cutoffs.

BandPass.lowpass

The lowpass cutoffs.

BandPass.opening_axis

The projection axis, defaults to 2 (z).

BandPass.return_real_fourier

Whether to return a mask for rfft

BandPass.sampling_rate

The sampling rate, defaults to 1 Ångstrom / voxel.

BandPass.shape

The shape of the to-be created mask.

BandPass.tilt_axis

Axis the plane is tilted over, defaults to 0 (x).

BandPass.use_gaussian

Whether to use Gaussian bandpass filter, defaults to True.

BandPass.angles

The tilt angles.

Methods

BandPass.__call__(**kwargs)

Returns a Bandpass stack of chosen parameters with DC component in the center.