43 fftw_destroy_plan(fwdPlan);
44 fftw_destroy_plan(invPlan);
45 std::cout <<
"RealFFT DeInit done"<<std::endl;
52 std::cerr<<
"Real2DFFT::fwdTransform : data not present"<<std::endl;
54 fftw_execute(fwdPlan);
60 std::cerr<<
"Real2DFFT::invTransform : data not present"<<std::endl;
62 fftw_execute(invPlan);
69 #endif // REAL2DFFT_H_ void invTransform()
Inverse transform the data (out to in)
class Real2DFFTData controls and manipulates real 2D fft data
Real2DFFTData * data
The pointer to the relevant data.
virtual ~Real2DFFT()
fft deconstructor
fftw_complex * out
The output data.
class Real2DFFT controls fftw plans and executes fwd/inv transforms
fftw_plan fwdPlan
The forward and inverse plans.
int getYSize()
The column count.
void fwdTransform()
Forward transform the data (in to out)
Real2DFFT(Real2DFFTData *d)
fft init ... data pointed to by 'd'
fftw_real * in
The input data and power spectrum.
int getXSize()
The row count.