mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
psdFilter_test.cpp File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ SCENARIO() [1/2]

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

Scenario: compiling psdFilter

Verify compilation and initilization of the 3 ranks for psdFilter.

Definition at line 22 of file psdFilter_test.cpp.

◆ SCENARIO() [2/2]

SCENARIO ( "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 218 of file psdFilter_test.cpp.

References mx::sigproc::augment1SidedPSD(), mx::sigproc::augment1SidedPSDFreq(), mx::sigproc::frequencyGrid(), mx::improc::eigenCube< dataT >::image(), mx::astro::constants::k(), mx::sigproc::normPSD(), mx::improc::eigenCube< dataT >::pixel(), and mx::math::vectorVariance().