From c1e77503888daa47337f994a4eb8c6f0cd4dbc52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ot=C3=A1vio=20Alves?= Date: Thu, 18 Apr 2024 15:26:30 -0400 Subject: [PATCH 1/2] Updated DESI Y1 BAO data with non-truncated numbers. --- modules_desy6/desi_likelihood/desi_y1_bao_ani.txt | 12 ++++++------ modules_desy6/desi_likelihood/desi_y1_bao_iso.txt | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules_desy6/desi_likelihood/desi_y1_bao_ani.txt b/modules_desy6/desi_likelihood/desi_y1_bao_ani.txt index af91bcf5..30031bc9 100644 --- a/modules_desy6/desi_likelihood/desi_y1_bao_ani.txt +++ b/modules_desy6/desi_likelihood/desi_y1_bao_ani.txt @@ -1,7 +1,7 @@ -# zeff DM/rd error DH/rd error corr -0.51 13.62 0.25 20.98 0.61 -0.445 -0.71 16.84 0.32 20.08 0.60 -0.420 -0.93 21.73 0.28 17.87 0.35 -0.389 -1.32 27.80 0.69 13.82 0.42 -0.444 -2.33 39.71 0.94 8.52 0.17 -0.477 +# zeff DM/rd error DH/rd error corr +0.510 13.62003080 0.25192504 20.98334647 0.61071168 -0.44544776 +0.706 16.84645313 0.31933636 20.07872919 0.59535633 -0.42047527 +0.930 21.70841761 0.28207716 17.87612922 0.34631732 -0.38910542 +1.317 27.78720817 0.69034039 13.82372285 0.42222091 -0.44396689 +2.330 39.70838281 0.94326716 8.52256583 0.17083924 -0.4775 diff --git a/modules_desy6/desi_likelihood/desi_y1_bao_iso.txt b/modules_desy6/desi_likelihood/desi_y1_bao_iso.txt index 9211bf63..4647b100 100644 --- a/modules_desy6/desi_likelihood/desi_y1_bao_iso.txt +++ b/modules_desy6/desi_likelihood/desi_y1_bao_iso.txt @@ -1,3 +1,3 @@ -# zeff DV/rd error -0.30 7.92 0.15 -1.49 26.09 0.67 +# zeff DV/rd error +0.295 7.92512927 0.15074178 +1.491 26.07217182 0.66868153 From 94408234e926cb3c2645dae7f20ab47dbc4a93e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Fert=C3=A9?= Date: Sat, 20 Apr 2024 17:04:51 -0700 Subject: [PATCH 2/2] Add import numpy for BBN. --- likelihood/bbn/bbn_ombh2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/likelihood/bbn/bbn_ombh2.py b/likelihood/bbn/bbn_ombh2.py index 388254cc..0aae902a 100644 --- a/likelihood/bbn/bbn_ombh2.py +++ b/likelihood/bbn/bbn_ombh2.py @@ -1,6 +1,6 @@ from cosmosis.datablock import names from cosmosis.gaussian_likelihood import SingleValueGaussianLikelihood - +import numpy as np class BBNLikelihood(SingleValueGaussianLikelihood): # The mean and standard deviation of the BBN measurements. @@ -17,7 +17,7 @@ class BBNLikelihood(SingleValueGaussianLikelihood): def build_data(self): - paper = self.options.get_string("paper", "beringer_2012") + paper = self.options.get_string("paper", "beringer_2012") if paper == "beringer_2012": print("Using Beringer 2012 (PDG) BBN measurement") @@ -63,7 +63,7 @@ def build_data(self): sigma = options.get_float("sigma") print("** Overriding sigma with param file value: ", sigma) - return mean, sigma + return mean, sigma def extract_theory_points(self, block): omega_b = block[self.section, 'omega_b']