Analysis: Signal Processing: FFT: 2D FFT
Compute 2D fourier transform of data in matrix
This feature is for OriginPro only.
1. fft2 im:=[Mbook]1!Mat(1);
2. fft2 norm:=1;
3. fft2 sc:=1;
4. fft2 norm:=1 sc:=1 ocm:=<none> opm:=<none>; // Do not calculate complex or phase output
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Matrix | im |
Input MatrixObject |
|
Specifies the input matrix. |
Imaginary Matrix | im2 |
Input MatrixObject |
|
Specifies the imaginary matrix. |
Normalize Amplitude Matrix | norm |
Input int |
|
Specifies whether or not to normalize the amplitudes to 1 |
DC Shift Center | sc |
Input int |
|
If this variable is 1, the DC component will be put in the center of the result matrix. Otherwise, the DC component will locate at four corners of the result matrix. |
Complex Matrix | ocm |
Output MatrixObject |
|
Specifies the complex result matrix. See the syntax here. |
Amplitude Matrix | oam |
Output MatrixObject |
|
Specifies the amplitude matrix. See the syntax here. |
Phase Matrix | opm |
Output MatrixObject |
|
Specifies the phase matrix. See the syntax here. |
Power Matrix | owm |
Output MatrixObject |
|
Specifies the power matrix See the syntax here. |
Log Amplitude Matrix | olam |
Output MatrixObject |
|
Specifies the logarithm base 10 of amplitude matrix. See the syntax here. |
Log Power Matrix | olwm |
Output MatrixObject |
|
Specifies the logarithm base 10 of power matrix. See the syntax here. |
1. To compute the 2D FFT of active matrix, use the script command:
fft2
2. To open the fft2 dialog, use the script command:
fft2 -d
3. To perform 2D FFT to data using a pre-saved theme file, save your preferences in the fft2 dialog. Execute it by typing the following script command, using your own saved-theme title:
fft2 -t "my fft2 theme.oth"
For more information, please refer to our User Guide.
Keywords:amplitude, phase, power