libdas2
das2 core C utilities
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
Das2Dft Struct Reference

#include <das2/dft.h>

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:

Public Member Functions

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

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