test_h0_utils¶
Module Contents¶
Classes¶
TestH0Utils |
A suite of tests verifying that the input PDFs and the sample distributions |
-
class
test_h0_utils.TestH0Utils(methodName='runTest')[source]¶ Bases:
unittest.TestCaseA suite of tests verifying that the input PDFs and the sample distributions match.
-
classmethod
setUpClass(cls)[source]¶ Hook method for setting up class fixture before running tests in the class.
-
test_pred_to_natural_gaussian(self)[source]¶ Test if the predicted mu, cov are being transformed back correctly into natural (original) space
-
test_reorder_to_tdlmc(self)[source]¶ Test if reordering the lenstronomy dec array –> increasing dec –> ABCD ordering of TDLMC is correct
-
test_get_lognormal_stats(self)[source]¶ Test if the correct lognormal stats are generated from lognormal samples
-
test_get_lognormal_stats_naive(self)[source]¶ Test if the correct lognormal stats are generated from uniform samples with lognormal weights
-
test_get_normal_stats(self)[source]¶ Test if the correct normal stats are generated from normal samples
-
test_get_normal_stats_naive(self)[source]¶ Test if the correct normal stats are generated from uniform samples with normal weights
-
classmethod