Normalised Fourier Transforms
Module containing useful FFT based function and classes
- aotools.fouriertransform.ft(data, delta)[source]
A properly scaled 1-D FFT
- Parameters:
data (ndarray) – An array on which to perform the FFT
delta (float) – Spacing between elements
- Returns:
scaled FFT
- Return type:
ndarray
- aotools.fouriertransform.ft2(data, delta)[source]
A properly scaled 2-D FFT
- Parameters:
data (ndarray) – An array on which to perform the FFT
delta (float) – Spacing between elements
- Returns:
scaled FFT
- Return type:
ndarray
- aotools.fouriertransform.ift(data, delta_f)[source]
Scaled inverse 1-D FFT
- Parameters:
data (ndarray) – Data in Fourier Space to transform
delta_f (ndarray) – Frequency spacing of grid
- Returns:
Scaled data in real space
- Return type:
ndarray
- aotools.fouriertransform.ift2(data, delta_f)[source]
Scaled inverse 2-D FFT
- Parameters:
data (ndarray) – Data in Fourier Space to transform
delta_f (ndarray) – Frequency spacing of grid
- Returns:
Scaled data in real space
- Return type:
ndarray
- aotools.fouriertransform.irft(data, delta_f)[source]
Scaled real inverse 1-D FFT
- Parameters:
data (ndarray) – Data in Fourier Space to transform
delta_f (ndarray) – Frequency spacing of grid
- Returns:
Scaled data in real space
- Return type:
ndarray
- aotools.fouriertransform.irft2(data, delta_f)[source]
Scaled inverse real 2-D FFT
- Parameters:
data (ndarray) – Data in Fourier Space to transform
delta_f (ndarray) – Frequency spacing of grid
- Returns:
Scaled data in real space
- Return type:
ndarray