mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
PSD Utilities Unit Tests

Functions

 TEST_CASE ("calculating variance from a 1D PSD", "[sigproc::psdUtils]")
 TEST_CASE ("augmenting a 1 sided PSD", "[sigproc::psdUtils]")
 TEST_CASE ("creating a 1D frequency grid", "[sigproc::psdUtils]")

Function Documentation

◆ TEST_CASE() [1/3]

TEST_CASE ( "augmenting a 1 sided PSD" ,
"" [sigproc::psdUtils] )

Verify scaling and normalization of augment1SidedPSD

Definition at line 99 of file psdUtils_test.cpp.

References mx::sigproc::augment1SidedPSD(), mx::sigproc::augment1SidedPSDFreq(), mx::sigproc::normPSD(), and mx::sigproc::psdVar().

◆ TEST_CASE() [2/3]

TEST_CASE ( "calculating variance from a 1D PSD" ,
"" [sigproc::psdUtils] )

calculating variance from a 1D PSD

Verify calculations of psdVar1sided, psdVar2sided, and psdVar.

Definition at line 25 of file psdUtils_test.cpp.

References mx::sigproc::psdVar().

◆ TEST_CASE() [3/3]

TEST_CASE ( "creating a 1D frequency grid" ,
"" [sigproc::psdUtils] )

Verify creation of a 1D frequency grid

Definition at line 158 of file psdUtils_test.cpp.

References mx::sigproc::frequencyGrid().