:py:mod:`test_infer_utils` ========================== .. py:module:: test_infer_utils .. autoapi-nested-parse:: Tests for the n2j.inference.infer_utils utility functions Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: test_infer_utils.TestInferUtils .. py:class:: TestInferUtils(methodName='runTest') Bases: :py:obj:`unittest.TestCase` A suite of tests verifying n2j.inference.infer_utils utility functions .. py:method:: setUpClass() :classmethod: Set up seeding .. py:method:: test_get_normal_logpdf() Test evaluation of log Gaussian PDF for correctness .. py:method:: test_log_prob_mcmc_single() Test evaluation of MCMC objective for correctness, for a single sightline .. py:method:: test_log_prob_mcmc_bnn() Test evaluation of MCMC objective for correctness, for various numbers of BNN samples .. py:method:: test_log_prob_mcmc_multiple() Test evaluation of MCMC objective for correctness, for multiple sightlines .. py:method:: test_get_omega_post() Test that `get_omega_post` runs without error and returns MCMC chains of expected shapes .. py:method:: tearDownClass() :classmethod: Hook method for deconstructing the class fixture after running all tests in the class.