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

Functions

 TEST_CASE ("compiling psdFilter", "[sigproc::psdFilter]")
 TEST_CASE ("filtering with psdFilter", "[sigproc::psdFilter]")

Function Documentation

◆ TEST_CASE() [1/2]

TEST_CASE ( "compiling psdFilter" ,
"" [sigproc::psdFilter] )

compiling psdFilter

Verify compilation and initilization of the 3 ranks for psdFilter.

Definition at line 33 of file psdFilter_test.cpp.

◆ TEST_CASE() [2/2]

TEST_CASE ( "filtering with psdFilter" ,
"" [sigproc::psdFilter] )

Verify filtering and noise normalization Conducts random noise tests, verifying that the resultant rms is within 2% of expected value on average over many trials. Results are usually better than 1%, but 2% makes sure we don't get false failures.

Definition at line 230 of file psdFilter_test.cpp.

References mx::sigproc::augment1SidedPSD(), mx::sigproc::augment1SidedPSDFreq(), mx::sigproc::frequencyGrid(), mx::improc::eigenCube< dataT >::image(), mx::sigproc::normPSD(), mx::improc::eigenCube< dataT >::pixel(), mx::math::randomT< typeT, _ranengT, _randistT >::seed(), and mx::math::vectorVariance().