Tool for performing fast fourier transform (FFT) on grids of Complex and real numbers.
More...
Tool for performing fast fourier transform (FFT) on grids of Complex and real numbers.
Tool for performing fast fourier transform (FFT) on grids of Complex and real numbers. Algorithms for FFT based on "Numerical Recipes in C, 2nd ed."
- Author
- Andreas Dotsch (andre.nosp@m.as.d.nosp@m.oetsc.nosp@m.h@he.nosp@m.lmhol.nosp@m.tz-h.nosp@m.zi.de), Helmholtz Centre for Infection Research (Germany)
static boolean utils.FftOperations.checkPowerOfTwo |
( |
int |
n | ) |
|
|
static |
Checks whether n is an integer power of 2.
Checks whether n is an integer power of 2
- Parameters
-
- Returns
- Boolean noting whether this number is a power of 2
static double [] utils.FftOperations.fft |
( |
double[] |
data, |
|
|
int |
isign |
|
) |
| |
|
static |
Perform a Fast Fourier Transformation on 1D data array.
Perform a Fast Fourier Transformation on 1D data array.
- Parameters
-
data | data array to perform FFT on |
isign | 1 for regular FFT, -1 for inverse (result is NOT normalized by N!) |
- Returns
- Double array of transformed data
static double [] utils.FftOperations.fftn |
( |
double[] |
data, |
|
|
int |
ndim, |
|
|
int[] |
nn, |
|
|
int |
isign |
|
) |
| |
|
static |
Perform a Fast Fourier Transformation on n-D data array .
Perform a Fast Fourier Transformation on n-D data array .
- Parameters
-
data | data array to perform FFT on |
ndim | number of dimensions |
nn | size of the array data in all directions |
isign | 1 for regular FFT, -1 for inverse (result is NOT normalized by N!) |
- Returns
- Double array of the data transformed to a 1D array of doubles
static Complex [] utils.FftOperations.inverse |
( |
Complex[] |
originalData | ) |
|
|
static |
Inverse transform a 1D array of complex numbers.
Inverse transform a 1D array of complex numbers
- Parameters
-
originalData | Data of complex numbers to be transformed |
- Returns
- Inverse of the original data array
static Complex [][] utils.FftOperations.inverse |
( |
Complex |
originalData[][] | ) |
|
|
static |
Inverse transform a 2D array of complex numbers.
Inverse transform a 2D array of complex numbers
- Parameters
-
originalData | Data of complex numbers to be transformed |
- Returns
- Inverse of the original data array
static Complex [][][] utils.FftOperations.inverse |
( |
Complex |
originalData[][][] | ) |
|
|
static |
Inverse transform a 3D array of complex numbers.
Inverse transform a 3D array of complex numbers
- Parameters
-
originalData | Data of complex numbers to be transformed |
- Returns
- Inverse of the original data array
static Complex [] utils.FftOperations.transform |
( |
double[] |
originalData | ) |
|
|
static |
Transform a 1D array of real numbers into an array of complex numbers.
Transform a 1D array of real numbers into an array of complex numbers
- Parameters
-
originalData | Original data |
- Returns
- Array of complex numbers representing this data
static Complex [][] utils.FftOperations.transform |
( |
double |
originalData[][] | ) |
|
|
static |
Transform a 2D array of real numbers into an array of complex numbers.
Transform a 2D array of real numbers into an array of complex numbers
- Parameters
-
originalData | Original data |
- Returns
- Array of complex numbers representing this data
static Complex [][][] utils.FftOperations.transform |
( |
double |
originalData[][][] | ) |
|
|
static |
Transform a 3D array of real numbers into an array of complex numbers.
Transform a 3D array of real numbers into an array of complex numbers
- Parameters
-
originalData | Original data |
- Returns
- Array of complex numbers representing this data
static Complex [] utils.FftOperations.transform |
( |
Complex[] |
originalData | ) |
|
|
static |
Transform a 1D array of Complex numbers into an array of complex numbers.
Transform a 1D array of Complex numbers into an array of complex numbers
- Parameters
-
originalData | Original data |
- Returns
- Array of complex numbers representing this data
static Complex [][] utils.FftOperations.transform |
( |
Complex |
originalData[][] | ) |
|
|
static |
Transform a 2D array of Complex numbers into an array of complex numbers.
Transform a 2D array of Complex numbers into an array of complex numbers
- Parameters
-
originalData | Original data |
- Returns
- Array of complex numbers representing this data
static Complex [][][] utils.FftOperations.transform |
( |
Complex |
originalData[][][] | ) |
|
|
static |
Transform a 3D array of Complex numbers into an array of complex numbers.
Transform a 3D array of Complex numbers into an array of complex numbers
- Parameters
-
originalData | Original data |
- Returns
- Array of complex numbers representing this data
The documentation for this class was generated from the following file: