Main Page Compound List File List Compound Members Examples

# complexFFTData Class Reference

class complexFFTData controls and manipulates complex fft data More...

`#include <complexFFT.H>`

List of all members.

## 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.

## Detailed Description

class complexFFTData controls and manipulates complex fft data

Examples:

  complexFFTExample.cc.

Definition at line 35 of file complexFFT.H.

The documentation for this class was generated from the following file:

- complexFFT.H