tomodrgn.fft.fft2_center#
- fft2_center(possibly_batched_imgs: ndarray) ndarray [source]#
Batch-vectorized 2-D DFT of an even-box sized image(s) as numpy array Note: numpy promotes default input dtype np.float32 to output dtype np.complex128
- Parameters:
possibly_batched_imgs – np.ndarray of images, shape ([N], D, D)
- Returns:
np.ndarray of images DFT, shape ([N], D, D)