|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Functions | |
| TEST_CASE ("Loading aoAtmosphere config settings", "[ao::analysis::aoAtmosphere]") | |
| Verify parsing and validation of atmosphere configuration settings. | |
| TEST_CASE ("Atmosphere layer-strength normalization is transactional", "[ao::analysis::aoAtmosphere]") | |
| Verify that layer-strength normalization rejects invalid inputs without changing state. | |
| TEST_CASE ("Atmosphere validation rejects mismatched layer vectors", "[ao::analysis::aoAtmosphere]") | |
| Verify that complete atmosphere validation rejects every layer-vector mismatch. | |
| TEST_CASE ("Atmosphere validation rejects invalid physical values", "[ao::analysis::aoAtmosphere]") | |
| Verify that atmosphere validation rejects nonphysical scalar and layer values. | |
| TEST_CASE ("Atmosphere validation accepts supported physical conventions", "[ao::analysis::aoAtmosphere]") | |
| Verify that atmosphere validation preserves model-specific physical conventions. | |
| TEST_CASE ("Atmosphere configuration propagates invalid layer strengths", "[ao::analysis::aoAtmosphere]") | |
| Verify that configuration loading returns layer-strength validation failures. | |
| TEST_CASE | ( | "Atmosphere configuration propagates invalid layer strengths" | , |
| "" | [ao::analysis::aoAtmosphere] ) |
Verify that configuration loading returns layer-strength validation failures.
Exercises mx::AO::analysis::aoAtmosphere::loadConfig and mx::AO::analysis::aoAtmosphere::layer_Cn2.
Definition at line 430 of file aoAtmosphere_test.cpp.
References mx::invalidarg, mx::AO::analysis::aoAtmosphere< _realT >::layer_Cn2(), mx::AO::analysis::aoAtmosphere< _realT >::loadConfig(), mx::noerror, mx::app::appConfigurator::readConfig(), mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), mx::AO::analysis::aoAtmosphere< _realT >::setupConfig(), and mx::AO::analysis::aoAtmosphere< _realT >::validate().
| TEST_CASE | ( | "Atmosphere layer-strength normalization is transactional" | , |
| "" | [ao::analysis::aoAtmosphere] ) |
Verify that layer-strength normalization rejects invalid inputs without changing state.
Exercises mx::AO::analysis::aoAtmosphere::layer_Cn2.
Definition at line 236 of file aoAtmosphere_test.cpp.
References mx::invalidarg, mx::AO::analysis::aoAtmosphere< _realT >::layer_Cn2(), mx::noerror, mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), and mx::AO::analysis::aoAtmosphere< _realT >::validate().
| TEST_CASE | ( | "Atmosphere validation accepts supported physical conventions" | , |
| "" | [ao::analysis::aoAtmosphere] ) |
Verify that atmosphere validation preserves model-specific physical conventions.
Exercises mx::AO::analysis::aoAtmosphere::validate for static layers, infinite outer scale, and explicit non-Kolmogorov normalization.
Definition at line 400 of file aoAtmosphere_test.cpp.
References mx::AO::analysis::aoAtmosphere< _realT >::L_0(), mx::AO::analysis::aoAtmosphere< _realT >::layer_v_wind(), mx::noerror, mx::AO::analysis::aoAtmosphere< _realT >::nonKolmogorov(), mx::AO::analysis::aoAtmosphere< _realT >::r_0(), mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), and mx::AO::analysis::aoAtmosphere< _realT >::validate().
| TEST_CASE | ( | "Atmosphere validation rejects invalid physical values" | , |
| "" | [ao::analysis::aoAtmosphere] ) |
Verify that atmosphere validation rejects nonphysical scalar and layer values.
Exercises mx::AO::analysis::aoAtmosphere::validate after mutation through its public setters.
Definition at line 340 of file aoAtmosphere_test.cpp.
References mx::AO::analysis::aoAtmosphere< _realT >::beta(), mx::AO::analysis::aoAtmosphere< _realT >::H(), mx::AO::analysis::aoAtmosphere< _realT >::h_obs(), mx::invalidconfig, mx::AO::analysis::aoAtmosphere< _realT >::L_0(), mx::AO::analysis::aoAtmosphere< _realT >::l_0(), mx::AO::analysis::aoAtmosphere< _realT >::layer_dir(), mx::AO::analysis::aoAtmosphere< _realT >::layer_v_wind(), mx::AO::analysis::aoAtmosphere< _realT >::layer_z(), mx::AO::analysis::aoAtmosphere< _realT >::nonKolmogorov(), mx::AO::analysis::aoAtmosphere< _realT >::r_0(), mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), and mx::AO::analysis::aoAtmosphere< _realT >::validate().
| TEST_CASE | ( | "Atmosphere validation rejects mismatched layer vectors" | , |
| "" | [ao::analysis::aoAtmosphere] ) |
Verify that complete atmosphere validation rejects every layer-vector mismatch.
Exercises mx::AO::analysis::aoAtmosphere::validate with each core and non-Kolmogorov vector setter.
Definition at line 282 of file aoAtmosphere_test.cpp.
References mx::AO::analysis::aoAtmosphere< _realT >::alpha(), mx::AO::analysis::aoAtmosphere< _realT >::beta(), mx::AO::analysis::aoAtmosphere< _realT >::beta_0(), mx::AO::analysis::aoAtmosphere< _realT >::L_0(), mx::AO::analysis::aoAtmosphere< _realT >::l_0(), mx::AO::analysis::aoAtmosphere< _realT >::layer_Cn2(), mx::AO::analysis::aoAtmosphere< _realT >::layer_dir(), mx::AO::analysis::aoAtmosphere< _realT >::layer_v_wind(), mx::AO::analysis::aoAtmosphere< _realT >::layer_z(), mx::noerror, mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), mx::sizeerr, and mx::AO::analysis::aoAtmosphere< _realT >::validate().
| TEST_CASE | ( | "Loading aoAtmosphere config settings" | , |
| "" | [ao::analysis::aoAtmosphere] ) |
Verify parsing and validation of atmosphere configuration settings.
Exercises mx::AO::analysis::aoAtmosphere::setupConfig and mx::AO::analysis::aoAtmosphere::loadConfig.
Definition at line 23 of file aoAtmosphere_test.cpp.
References mx::AO::analysis::aoAtmosphere< _realT >::alpha(), mx::AO::analysis::aoAtmosphere< _realT >::beta(), mx::AO::analysis::aoAtmosphere< _realT >::beta_0(), mx::AO::analysis::aoAtmosphere< _realT >::H(), mx::AO::analysis::aoAtmosphere< _realT >::h_obs(), mx::AO::analysis::aoAtmosphere< _realT >::L_0(), mx::AO::analysis::aoAtmosphere< _realT >::l_0(), mx::AO::analysis::aoAtmosphere< _realT >::lam_0(), mx::AO::analysis::aoAtmosphere< _realT >::layer_Cn2(), mx::AO::analysis::aoAtmosphere< _realT >::layer_dir(), mx::AO::analysis::aoAtmosphere< _realT >::layer_v_wind(), mx::AO::analysis::aoAtmosphere< _realT >::layer_z(), mx::AO::analysis::aoAtmosphere< _realT >::loadConfig(), mx::noerror, mx::AO::analysis::aoAtmosphere< _realT >::nonKolmogorov(), mx::app::appConfigurator::parseCommandLine(), mx::AO::analysis::aoAtmosphere< _realT >::r_0(), mx::app::appConfigurator::readConfig(), mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), mx::AO::analysis::aoAtmosphere< _realT >::setupConfig(), mx::AO::analysis::aoAtmosphere< _realT >::v_wind(), and mx::AO::analysis::aoAtmosphere< _realT >::z_mean().