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

Tests of closed-loop gain optimization transfer functions. More...

Tests of closed-loop gain optimization transfer functions.

Definition in file clGainOpt_test.cpp.

#include "../../../catch2/catch.hpp"
#include "../../../../include/ao/analysis/clGainOpt.hpp"
#include <cmath>
#include <complex>
#include <numbers>
#include <vector>

Go to the source code of this file.

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.