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

Functions

 unitTest::improcTest::eigenCubeTest::TEST_CASE ("Masked eigenCube means use an inclusive good-pixel threshold", "[improc::eigenCube]")
 Verify masked mean combinations accept an inclusive good-pixel fraction and use the cube scalar sentinel.
 unitTest::improcTest::eigenCubeTest::TEST_CASE ("Unmasked eigenCube combinations use every plane", "[improc::eigenCube]")
 Verifies unmasked and weighted image combinations used when HCI masking is disabled.
 unitTest::improcTest::eigenCubeTest::TEST_CASE ("Float eigenCube combinations clear and combine HCI images", "[improc::eigenCube]")
 Verifies float cube zeroing and image combinations used by HCI observation processing.
 unitTest::improcTest::eigenCubeTest::TEST_CASE ("Masked eigenCube median honors its mask and threshold", "[improc::eigenCube]")
 Verify masked median combination honors the mask and inclusive good-pixel fraction.
 unitTest::improcTest::eigenCubeTest::TEST_CASE ("Masked eigenCube sigma means use an inclusive good-pixel threshold", "[improc::eigenCube]")
 Verify masked sigma means apply the inclusive threshold with and without weights.
 unitTest::improcTest::eigenCubeTest::TEST_CASE ("eigenCube combinations validate masks weights and thresholds", "[improc::eigenCube]")
 Verify masked combinations reject invalid masks, weights, and good-pixel thresholds.
 unitTest::improcTest::eigenCubeTest::TEST_CASE ("eigenCube copy and move operations preserve ownership", "[improc::eigenCube]")
 Verify eigenCube copies own independent storage and moves transfer ownership safely.
 unitTest::improcTest::eigenCubeTest::TEST_CASE ("eigenCube storage views and covariance preserve layout", "[improc::eigenCube]")
 Verifies non-owning storage, self-assignment, resized views, and covariance operations.

Function Documentation

◆ TEST_CASE() [1/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "eigenCube combinations validate masks weights and thresholds" ,
"" [improc::eigenCube] )

Verify masked combinations reject invalid masks, weights, and good-pixel thresholds.

Exercises argument validation in mx::improc::eigenCube::mean, median, and sigmaMean.

Definition at line 237 of file eigenCube_test.cpp.

References mx::invalidarg, mx::improc::eigenCube< dataT >::mean(), mx::improc::eigenCube< dataT >::median(), mx::improc::eigenCube< dataT >::sigmaMean(), and mx::sizeerr.

◆ TEST_CASE() [2/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "eigenCube copy and move operations preserve ownership" ,
"" [improc::eigenCube] )

Verify eigenCube copies own independent storage and moves transfer ownership safely.

Exercises mx::improc::eigenCube copy construction, assignment, move construction, move assignment, and shallowCopy.

Definition at line 329 of file eigenCube_test.cpp.

References mx::improc::eigenCube< dataT >::image().

◆ TEST_CASE() [3/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "eigenCube storage views and covariance preserve layout" ,
"" [improc::eigenCube] )

Verifies non-owning storage, self-assignment, resized views, and covariance operations.

Exercises mx::improc::eigenCube's external-storage constructor, non-owning shallowCopy, two-dimensional resize, cube, asVectors, Covar, and self copy/move assignment paths.

Definition at line 374 of file eigenCube_test.cpp.

References mx::improc::eigenCube< dataT >::asVectors(), mx::improc::eigenCube< dataT >::clear(), mx::improc::eigenCube< dataT >::Covar(), mx::improc::eigenCube< dataT >::cube(), and mx::improc::eigenCube< dataT >::image().

◆ TEST_CASE() [4/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "Float eigenCube combinations clear and combine HCI images" ,
"" [improc::eigenCube] )

Verifies float cube zeroing and image combinations used by HCI observation processing.

Exercises mx::improc::eigenCube<float>::setZero, mean, and both median overloads, including all float mx::improc::imageMedian workspace and mask paths.

Definition at line 123 of file eigenCube_test.cpp.

References mx::improc::eigenCube< dataT >::image(), mx::improc::imageMedian(), mx::improc::eigenCube< dataT >::mean(), mx::improc::eigenCube< dataT >::median(), and mx::improc::eigenCube< dataT >::pixel().

◆ TEST_CASE() [5/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "Masked eigenCube means use an inclusive good-pixel threshold" ,
"" [improc::eigenCube] )

Verify masked mean combinations accept an inclusive good-pixel fraction and use the cube scalar sentinel.

Exercises mx::improc::eigenCube::mean for masked and weighted-masked combinations.

Definition at line 39 of file eigenCube_test.cpp.

References mx::improc::eigenCube< dataT >::image(), mx::improc::isInvalidPixel(), and mx::improc::eigenCube< dataT >::mean().

◆ TEST_CASE() [6/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "Masked eigenCube median honors its mask and threshold" ,
"" [improc::eigenCube] )

Verify masked median combination honors the mask and inclusive good-pixel fraction.

Exercises mx::improc::eigenCube::median, including its even-sample median behavior.

Definition at line 165 of file eigenCube_test.cpp.

References mx::improc::eigenCube< dataT >::image(), mx::improc::isInvalidPixel(), and mx::improc::eigenCube< dataT >::median().

◆ TEST_CASE() [7/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "Masked eigenCube sigma means use an inclusive good-pixel threshold" ,
"" [improc::eigenCube] )

Verify masked sigma means apply the inclusive threshold with and without weights.

Exercises mx::improc::eigenCube::sigmaMean for masked and weighted-masked combinations.

Definition at line 205 of file eigenCube_test.cpp.

References mx::improc::eigenCube< dataT >::image(), mx::improc::isInvalidPixel(), and mx::improc::eigenCube< dataT >::sigmaMean().

◆ TEST_CASE() [8/8]

unitTest::improcTest::eigenCubeTest::TEST_CASE ( "Unmasked eigenCube combinations use every plane" ,
"" [improc::eigenCube] )

Verifies unmasked and weighted image combinations used when HCI masking is disabled.

Definition at line 89 of file eigenCube_test.cpp.

References mx::improc::eigenCube< dataT >::image(), mx::improc::eigenCube< dataT >::mean(), mx::improc::eigenCube< dataT >::median(), and mx::improc::eigenCube< dataT >::sigmaMean().