|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Functions | |
| TEST_CASE ("Gain optimizer recomputes transfer functions after changing Ti", "[ao::analysis::clGainOpt]") | |
| Verify that changing the sampling interval invalidates all sampling-interval-dependent cached values. | |
| TEST_CASE ("Gain optimizer interpolates a pure-integrator stability crossing", "[ao::analysis::clGainOpt]") | |
| Verify that maximum-stable-gain calculation interpolates a bracketed pure-integrator Nyquist crossing. | |
| TEST_CASE ("Gain optimizer reports missing stability crossings", "[ao::analysis::clGainOpt]") | |
| Verify that maximum-stable-gain calculation reports invalid grids and missing crossings. | |
| TEST_CASE ("Gain optimizer reports minimizer termination", "[ao::analysis::clGainOpt]") | |
| Verify that optimum-gain calculation enforces its interval and reports termination state. | |
| TEST_CASE | ( | "Gain optimizer interpolates a pure-integrator stability crossing" | , |
| "" | [ao::analysis::clGainOpt] ) |
Verify that maximum-stable-gain calculation interpolates a bracketed pure-integrator Nyquist crossing.
Exercises mx::AO::analysis::clGainOpt::maxStableGain and its crossing diagnostics.
Definition at line 133 of file clGainOpt_test.cpp.
References mx::noerror.
| TEST_CASE | ( | "Gain optimizer recomputes transfer functions after changing Ti" | , |
| "" | [ao::analysis::clGainOpt] ) |
Verify that changing the sampling interval invalidates all sampling-interval-dependent cached values.
Exercises mx::AO::analysis::clGainOpt::Ti and the public transfer-function calculations after the trigonometric cache has already been populated.
Definition at line 38 of file clGainOpt_test.cpp.
References mx::noerror.
| TEST_CASE | ( | "Gain optimizer reports minimizer termination" | , |
| "" | [ao::analysis::clGainOpt] ) |
Verify that optimum-gain calculation enforces its interval and reports termination state.
Exercises both mx::AO::analysis::clGainOpt::optGainOpenLoop overloads for small intervals, invalid intervals, stability failure, and forced iteration exhaustion.
Definition at line 186 of file clGainOpt_test.cpp.
References mx::invalidconfig, mx::math::isFinite(), mx::math::isNan(), mx::noerror, mx::notfound, and mx::timeout.
| TEST_CASE | ( | "Gain optimizer reports missing stability crossings" | , |
| "" | [ao::analysis::clGainOpt] ) |
Verify that maximum-stable-gain calculation reports invalid grids and missing crossings.
Exercises mx::AO::analysis::clGainOpt::maxStableGain failure statuses without sentinel gain values.
Definition at line 162 of file clGainOpt_test.cpp.
References mx::math::isNan(), mx::notfound, and mx::sizeerr.