#include <complexFFT.H>
Public Methods | |
complexFFTData (int sz) | |
Constructor with all memory to be allocated internally. | |
~complexFFTData (void) | |
Deconstructor. | |
void | switchData (complexFFTData *d) |
Use this to change associated fft data (for fft'ing). | |
int | limitHalfPowerSpec (double lim) |
Limits the maximum to 'lim' and returns the last fft bin with max. | |
int | getSize () |
Returns the number of elements in the input and output arrays. | |
int | compPowerSpec () |
This function computes the power spectrum and returns the max bin. | |
Public Attributes | |
int | size |
Specifies the size of the data array. | |
fftw_complex * | in |
the input and output arrays | |
fftw_complex * | out |
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. |
Definition at line 35 of file complexFFT.H.