tomodrgn.utils.lowpass_filter#

lowpass_filter(vol_ft: ndarray | Tensor, angpix: float, lowpass: float) ndarray | Tensor[source]#

Lowpass-filters a volume in reciprocal space.

Parameters:
  • vol_ft – Fourier space symmetrized (DC is box center) volume as numpy array or torch tensor, shape (boxsize, boxsize, boxsize)

  • angpix – Pixel size of the volume in Ångstroms per pixel.

  • lowpass – Resolution to filter volume in Ångstroms.

Returns:

Lowpass filtered fourier space symmetrized volume, shape (boxsize, boxsize, boxsize).