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

A power spectral density estimator (periodogram) More...

#include <das2/dft.h>

Public Member Functions

DAS_API Das2Psdnew_Psd (DftPlan *pPlan, bool bCenter, const char *sWindow)
 Create a new Power Spectral Density Calculator. More...
 
DAS_API void del_Das2Psd (Das2Psd *pThis)
 Free a Power Spectral Density calculator. More...
 
DAS_API DasErrCode Psd_calculate (Das2Psd *pThis, const double *pReal, const double *pImg)
 Calculate a Power Spectral Density (periodogram) More...
 
DAS_API DasErrCode Psd_calculate_f (Das2Psd *pThis, const float *pReal, const float *pImg)
 The floating point array input analog of Psd_calaculate() More...
 
DAS_API double Psd_powerRatio (const Das2Psd *pThis, double *pInput, double *pOutput)
 Provide a comparison of the input power and the output power. More...
 
DAS_API const double * Psd_get (const Das2Psd *pThis, size_t *pLen)
 Get the amplitude magnitude vector from a calculation. More...
 

Detailed Description

A power spectral density estimator (periodogram)

This is a wrapper around the FFTW (Fastest Fourier Transform in the West) library to handle memory management, normalization and windowing.


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