![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <cdft2d_fftw.hpp>
Public Member Functions | |
| CDFT2D_FFTW (int direction=1) | |
| bool | operator() (WaveField &tReal, WaveField &tIm) const |
| virtual bool | calc (WaveField &tReal, WaveField &tIm) const |
| virtual bool | calc (Trace &tReal, Trace &tIm) const |
| void | setDirection (int direction) |
| int | getDirection () const |
| void | setRotateFlag (bool rotate) |
| bool | getRotateFlag () const |
Public Member Functions inherited from CDFT2D | |
| CDFT2D (int direction=1) | |
| bool | operator() (WaveField &tReal, WaveField &tIm) const |
| void | setDirection (int direction) |
| int | getDirection () const |
| void | setNormType (NormType norm_type) |
| NormType | getNormType () const |
Protected Member Functions | |
| void | rotate (WaveField &matr) const |
| void | rotate (Trace &vec) const |
| void | norm (WaveField &matr) const |
| void | norm (Trace &vector) const |
| void | set_proper_freq (Trace &tr) const |
| void | set_proper_freq (WaveField &field) const |
| virtual void | create_1d_plan (int N0, fftw_plan &plan, fftw_complex *in, fftw_complex *out) const |
| virtual void | create_2d_plan (int N0, int N1, fftw_plan &plan, fftw_complex *in, fftw_complex *out) const |
| virtual void | destroy_plan (fftw_plan &plan) const |
Additional Inherited Members | |
Public Types inherited from CDFT2D | |
| enum | NormType { DINORM = 0, INORM, NONORM } |
Protected Attributes inherited from CDFT2D | |
| int | m_direction |
| NormType | m_norm_type |
Complex 2D discrete Fourier transformation
| CDFT2D_FFTW::CDFT2D_FFTW | ( | int | direction = 1 | ) |
Default constructor with direction provided. 1 - Direct transform, -1 - inverse transform
Calculates 2D Fourier transformation for real and imag data provided
Implements CDFT2D.
Calculates 1D Fourier transformation for real and imag data provided
|
inline |
Get current transormation direction
|
inline |
Get current transormation direction
Calculates Fourier transformation for real and imag data provided
|
protected |
Transform matrix in vector
|
inline |
Available values are 1 (direct) and -1 (inverse) FFT
|
inline |
Available values are 1 (direct) and -1 (inverse) FFT
1.8.5