MFFM FFTw Wrapper
|
class complexFFTData controls and manipulates complex fft data More...
#include <complexFFT.H>
Public Member Functions | |
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. More... | |
int | compPowerSpec () |
This function computes the power spectrum and returns the max bin. | |
Public Attributes | |
int | size |
Specifies the size of the data array. More... | |
fftw_complex * | in |
the input and output arrays More... | |
fftw_complex * | out |
fftw_real * | power_spectrum |
the power_spectrum array More... | |
double | totalPower |
The total power (summed) of the power spectrum as used in the method compPowerSpec. More... | |
class complexFFTData controls and manipulates complex fft data
Definition at line 35 of file complexFFT.H.
|
inline |
Returns the number of elements in the input and output arrays.
Definition at line 58 of file complexFFT.H.
References size.
fftw_complex* complexFFTData::in |
the input and output arrays
Definition at line 40 of file complexFFT.H.
fftw_complex * complexFFTData::out |
Definition at line 40 of file complexFFT.H.
fftw_real* complexFFTData::power_spectrum |
int complexFFTData::size |
Specifies the size of the data array.
Definition at line 38 of file complexFFT.H.
Referenced by getSize().
double complexFFTData::totalPower |
The total power (summed) of the power spectrum as used in the method compPowerSpec.
Definition at line 44 of file complexFFT.H.