24 #define fftw_real double 26 #define c_re(c) ((c)[0]) 27 #define c_im(c) ((c)[1]) 32 #define PLANTYPE FFTW_ESTIMATE 40 fftw_complex *
in, *out;
55 int limitHalfPowerSpec(
double lim);
69 fftw_plan fwdPlan, invPlan;
71 void createPlan(
void);
73 void destroyPlan(
void);
97 #endif // COMPLEXFFT_H_ fftw_complex * in
the input and output arrays
int getSize()
Returns the number of elements in the input and output arrays.
fftw_real * power_spectrum
the power_spectrum array
double totalPower
The total power (summed) of the power spectrum as used in the method compPowerSpec.
class complexFFT controls fftw plans and executes fwd/inv transforms
int size
Specifies the size of the data array.
complexFFTData * data
The pointer to the relevant data.
class complexFFTData controls and manipulates complex fft data