|
mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Functions | |
| TEST_CASE ("Fourier temporal PSD workspace ownership is move-only", "[ao::analysis::fourierTemporalPSD]") | |
| Verify that Fourier temporal PSD evaluators uniquely own movable GSL workspaces. | |
| TEST_CASE ("Fourier temporal PSD validates public calculation inputs", "[ao::analysis::fourierTemporalPSD]") | |
| Verify that public Fourier temporal PSD calculations reject malformed inputs before modifying output. | |
| TEST_CASE ("Fourier temporal PSD reports workspace allocation failure", "[ao::analysis::fourierTemporalPSD]") | |
| Verify that GSL workspace allocation failure is returned without evaluating or modifying the PSD. | |
| TEST_CASE ("Fourier temporal PSD validates grid-generation inputs", "[ao::analysis::fourierTemporalPSD]") | |
| Verify that PSD-grid generation validates its public inputs before creating output. | |
| TEST_CASE ("Fourier temporal PSD reports grid-generation failures", "[ao::analysis::fourierTemporalPSD]") | |
| Verify that PSD-grid generation propagates calculation and output failures. | |
| TEST_CASE ("Fourier temporal PSD enforces atmosphere validity at calculation", "[ao::analysis::fourierTemporalPSD]") | |
| Verify that Fourier PSD calculation requires a valid atmosphere and accepts every complete preset. | |
| TEST_CASE ("Fourier temporal PSD handles short exact tails", "[ao::analysis::fourierTemporalPSD]") | |
| Verify temporal-PSD tail initialization at and below its nominal averaging width. | |
| TEST_CASE ("Fourier temporal PSD aggregates quadrature diagnostics", "[ao::analysis::fourierTemporalPSD]") | |
| Verify aggregation and formatting of Fourier temporal-PSD quadrature diagnostics. | |
| TEST_CASE ("Fourier temporal PSD applies quadrature policy", "[ao::analysis::fourierTemporalPSD]") | |
| Verify permissive and strict handling of GSL quadrature statuses. | |
| TEST_CASE ("Fourier temporal PSD propagates multilayer errors", "[ao::analysis::fourierTemporalPSD]") | |
| Verify multilayer error propagation and restoration of the caller's GSL handler. | |
| TEST_CASE | ( | "Fourier temporal PSD aggregates quadrature diagnostics" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify aggregation and formatting of Fourier temporal-PSD quadrature diagnostics.
Exercises fourierTemporalPSDReport::record, fourierTemporalPSDReport::merge, and fourierTemporalPSDReport::write with multiple GSL statuses and atmospheric layers.
Definition at line 498 of file fourierTemporalPSD_test.cpp.
References mx::AO::analysis::fourierTemporalPSDReport< realT >::failureCount(), mx::AO::analysis::fourierTemporalPSDReport< realT >::gslStatus, mx::AO::analysis::fourierTemporalPSDReport< realT >::integrationsAttempted, mx::AO::analysis::fourierTemporalPSDReport< realT >::integrationsConverged, mx::AO::analysis::fourierTemporalPSDReport< realT >::merge(), mx::AO::analysis::fourierTemporalPSDReport< realT >::record(), and mx::AO::analysis::fourierTemporalPSDReport< realT >::write().
| TEST_CASE | ( | "Fourier temporal PSD applies quadrature policy" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify permissive and strict handling of GSL quadrature statuses.
Exercises the status policy used by fourierTemporalPSD::singleLayerPSD.
Definition at line 534 of file fourierTemporalPSD_test.cpp.
References mx::allocerr, mx::invalidconfig, mx::liberr, and mx::noerror.
| TEST_CASE | ( | "Fourier temporal PSD enforces atmosphere validity at calculation" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify that Fourier PSD calculation requires a valid atmosphere and accepts every complete preset.
Exercises mx::AO::analysis::aoAtmosphere::validate, mx::AO::analysis::aoAtmosphere::loadGuyon2005, mx::AO::analysis::aoAtmosphere::loadLCO, mx::AO::analysis::aoAtmosphere::setSingleLayer, and mx::AO::analysis::fourierTemporalPSD::singleLayerPSD.
Definition at line 382 of file fourierTemporalPSD_test.cpp.
References mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::_useBasis, mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::D(), mx::AO::analysis::aoAtmosphere< _realT >::L_0(), mx::AO::analysis::aoAtmosphere< _realT >::loadGuyon2005(), mx::AO::analysis::aoAtmosphere< _realT >::loadLCO(), mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::m_aosys, mx::noerror, mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::singleLayerPSD(), mx::sizeerr, and mx::AO::analysis::aoAtmosphere< _realT >::validate().
| TEST_CASE | ( | "Fourier temporal PSD handles short exact tails" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify temporal-PSD tail initialization at and below its nominal averaging width.
Exercises zero, one, 49, and 50 exactly integrated frequency bins.
Definition at line 433 of file fourierTemporalPSD_test.cpp.
References mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::_useBasis, mx::AO::analysis::aoAtmosphere< _realT >::alpha(), mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::D(), mx::AO::analysis::fourierTemporalPSDReport< realT >::integrationsAttempted, mx::invalidarg, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::m_aosys, mx::noerror, mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), and mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::singleLayerPSD().
| TEST_CASE | ( | "Fourier temporal PSD propagates multilayer errors" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify multilayer error propagation and restoration of the caller's GSL handler.
Exercises fourierTemporalPSD::multiLayerPSD with an invalid basis.
Definition at line 556 of file fourierTemporalPSD_test.cpp.
References mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::_useBasis, mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::D(), mx::AO::analysis::fourierTemporalPSDReport< realT >::integrationsAttempted, mx::invalidarg, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::m_aosys, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::multiLayerPSD(), and mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer().
| TEST_CASE | ( | "Fourier temporal PSD reports grid-generation failures" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify that PSD-grid generation propagates calculation and output failures.
Exercises mx::AO::analysis::fourierTemporalPSD::makePSDGrid failure handling after successful preflight.
Definition at line 334 of file fourierTemporalPSD_test.cpp.
References mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::_useBasis, mx::allocerr, mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::D(), mx::enotdir, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::m_aosys, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::makePSDGrid(), and mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer().
| TEST_CASE | ( | "Fourier temporal PSD reports workspace allocation failure" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify that GSL workspace allocation failure is returned without evaluating or modifying the PSD.
Exercises mx::AO::analysis::fourierTemporalPSD::singleLayerPSD with an injected failing workspace allocator.
Definition at line 242 of file fourierTemporalPSD_test.cpp.
References mx::allocerr, mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::D(), mx::AO::analysis::fourierTemporalPSDReport< realT >::integrationsAttempted, and mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer().
| TEST_CASE | ( | "Fourier temporal PSD validates grid-generation inputs" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify that PSD-grid generation validates its public inputs before creating output.
Exercises mx::AO::analysis::fourierTemporalPSD::makePSDGrid precondition handling.
Definition at line 265 of file fourierTemporalPSD_test.cpp.
References mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::_useBasis, mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::D(), mx::invalidarg, mx::invalidconfig, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::m_aosys, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::makePSDGrid(), mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), and mx::sizeerr.
| TEST_CASE | ( | "Fourier temporal PSD validates public calculation inputs" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify that public Fourier temporal PSD calculations reject malformed inputs before modifying output.
Exercises mx::AO::analysis::fourierTemporalPSD::singleLayerPSD and mx::AO::analysis::fourierTemporalPSD::multiLayerPSD precondition handling.
Definition at line 118 of file fourierTemporalPSD_test.cpp.
References mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::_useBasis, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::absTol(), mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::D(), mx::AO::analysis::fourierTemporalPSDReport< realT >::integrationsAttempted, mx::invalidarg, mx::invalidconfig, mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::lam_sci(), mx::AO::analysis::aoSystem< _realT, _inputSpectT, iosT >::lam_wfs(), mx::AO::analysis::aoAtmosphere< _realT >::layer_dir(), mx::AO::analysis::aoAtmosphere< _realT >::layer_v_wind(), mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::m_aosys, mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::multiLayerPSD(), mx::AO::analysis::fourierTemporalPSDReport< realT >::record(), mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::relTol(), mx::AO::analysis::aoAtmosphere< _realT >::setSingleLayer(), mx::AO::analysis::fourierTemporalPSD< _realT, aosysT >::singleLayerPSD(), and mx::sizeerr.
| TEST_CASE | ( | "Fourier temporal PSD workspace ownership is move-only" | , |
| "" | [ao::analysis::fourierTemporalPSD] ) |
Verify that Fourier temporal PSD evaluators uniquely own movable GSL workspaces.
Exercises the ownership contract of mx::AO::analysis::fourierTemporalPSD.
Definition at line 95 of file fourierTemporalPSD_test.cpp.
References mx::noerror.