def test_sn_jla_lite_slow_camb(modules): best_fit = deepcopy(best_fit_base) lik = "sn_jla_lite" info_likelihood = {lik: {"marginalize": True, "precompute_covmats": False}} info_theory = {"camb": {"use_planck_names": True}} body_of_test(modules, best_fit, info_likelihood, info_theory, chi2_sn_jla_lite)
def test_sn_jla_classy(modules): best_fit = deepcopy(best_fit_base) best_fit.update(best_fit_sn) lik = "sn_jla" info_likelihood = {lik: {}} info_theory = {"classy": {"use_planck_names": True}} body_of_test(modules, best_fit, info_likelihood, info_theory, chi2_sn_jla)
def test_sdss_dr12_consensus_final_classy(modules): lik = "sdss_dr12_consensus_final" info_likelihood = {lik: {}} info_theory = {"classy": {"use_planck_names": True}} chi2_classy = deepcopy(chi2_sdss_dr12_consensus_final) chi2_classy["tolerance"] += 1.2 body_of_test(modules, best_fit_base, info_likelihood, info_theory, chi2_classy)
def test_sdss_dr12_consensus_bao_camb(modules): lik = "sdss_dr12_consensus_bao" info_likelihood = {lik: {}} info_theory = {"camb": {"use_planck_names": True}} body_of_test(modules, best_fit_base, info_likelihood, info_theory, chi2_sdss_dr12_consensus_bao)
def test_bicep_keck_2015_camb(modules): info_theory = {"camb": {"use_planck_names": True}} body_of_test(modules, params, lik_info, info_theory, chi2, derived)
def test_bicep_keck_2015_classy(modules): info_theory = {"classy": {"use_planck_names": True}} chi2_classy = deepcopy(chi2) chi2_classy["tolerance"] += 2.0 body_of_test(modules, params, lik_info, info_theory, chi2_classy, derived)
def test_sn_pantheon_camb(modules): lik = "sn_pantheon" info_likelihood = {lik: {}} info_theory = {"camb": {"use_planck_names": True}} body_of_test(modules, best_fit_base, info_likelihood, info_theory, chi2_sn_pantheon)