FFT Module¶
This module contains simple wrappers around NumPy’s FFT functions (which are very fast). These wrappers exist because NumPy uses a different normalization convention than 6.300 does.
-
lib6300.fft.
fft
(x)¶ fft function that is simply a wrapper around numpy’s (very fast) FFT, modified to correct the scaling factor to be consistent with 6.300’s definitions.
-
lib6300.fft.
fft2
(x)¶ fft function that is simply a wrapper around numpy’s (very fast) 2-D FFT, modified to correct the scaling factor to be consistent with 6.300’s definitions.
-
lib6300.fft.
ifft
(x)¶ Similarly, a wrapper around numpy’s IFFT to correct the scaling factor to be consistent with 6.300’s definitions.
-
lib6300.fft.
ifft2
(x)¶ Similarly, a wrapper around numpy’s 2-D IFFT to correct the scaling factor to be consistent with 6.300’s definitions.