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.003 does.

lib6003.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.003’s definitions.

lib6003.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.003’s definitions.

lib6003.fft.ifft(x)

Similarly, a wrapper around numpy’s IFFT to correct the scaling factor to be consistent with 6.003’s definitions.

lib6003.fft.ifft2(x)

Similarly, a wrapper around numpy’s 2-D IFFT to correct the scaling factor to be consistent with 6.003’s definitions.