Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 424 Bytes

File metadata and controls

7 lines (4 loc) · 424 Bytes

Centered FFTs for Pytorch

Pytorch ffts center the dc component at the first position along each dimension, (0,0, ..., 0). However, it is easier to generate and visualize point spread functions as centered functions. fftshift and ifftshift enable easy transfer from zero and centered spaces. This package fills the void with an implementation of centered fft and iffts for Pytorch.

Install

pip install pyfftc