tomodrgn.fft.ht3_center#
- ht3_center(possibly_batched_vols: ndarray) ndarray [source]#
Batch-vectorized 3-D DHT of even-box sized volume(s) as numpy array Uses relationship DHT(x) == DFT(x).real - DFT(x).imag == (DFT(x) * (1 + i)).real Note: numpy promotes default input dtype np.float32 to output dtype np.float64
- Parameters:
possibly_batched_vols – np.ndarray of volumes, shape ([N], D, D, D)
- Returns:
np.ndarray of volumes DFT, shape ([N], D, D, D)