das2C
das core C utilities (v3)
Public Member Functions
Das2Dft Struct Reference

An amplitude preserving Discrete Fourier Transform converter. More...

#include <das2/dft.h>

Public Member Functions

DAS_API Das2Dftnew_Dft (DftPlan *pPlan, const char *sWindow)
 Create a new DFT calculator. More...
 
DAS_API void del_Dft (Das2Dft *pThis)
 Free a DFT (Discrete Fourier Transform) calculator. More...
 
DAS_API DasErrCode Dft_calculate (Das2Dft *pThis, const double *pReal, const double *pImg)
 Calculate a discrete Fourier transform. More...
 
DAS_API const double * Dft_getImg (Das2Dft *pThis, size_t *pLen)
 Return the imaginary component after a calculation. More...
 
DAS_API const double * Dft_getMagnitude (Das2Dft *pThis, size_t *pLen)
 Get the amplitude magnitude vector from a calculation. More...
 

Detailed Description

An amplitude preserving Discrete Fourier Transform converter.

On POSIX systems this code uses pthreads and fftw to handle simutaneous FFTs. The windows implemetation doesn't exist yet, but will not alter the call interface. An example of using this class follows:


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