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

#include <das2/dft.h>

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.

Public Member Functions

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

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