From f37d2a79d8e2f901f133bbc4ac29ff633a547a67 Mon Sep 17 00:00:00 2001 From: Benjamin Beringue <32453145+beringueb@users.noreply.github.com> Date: Wed, 21 Feb 2024 17:11:32 +0000 Subject: [PATCH] Changes in calibration to reflect ones made in syslib (#72) * Changes in calibration to reflect ones made in syslib * Bumped requirements for syslib --- mflike/theoryforge.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mflike/theoryforge.py b/mflike/theoryforge.py index 56c7e0e..33d31cb 100644 --- a/mflike/theoryforge.py +++ b/mflike/theoryforge.py @@ -353,13 +353,13 @@ def _get_calibrated_spectra(self, dls_dict, **nuis_params): cal = nuis_params["calG_all"] * np.array( [nuis_params[f"cal_{exp}"] * nuis_params[f"calT_{exp}"] for exp in self.experiments] ) - cal_pars["tt"] = 1 / cal + cal_pars["t"] = 1 / cal if "ee" in self.requested_cls or "te" in self.requested_cls: cal = nuis_params["calG_all"] * np.array( [nuis_params[f"cal_{exp}"] * nuis_params[f"calE_{exp}"] for exp in self.experiments] ) - cal_pars["ee"] = 1 / cal + cal_pars["e"] = 1 / cal calib = syl.Calibration_alm(ell=self.l_bpws, spectra=dls_dict) diff --git a/setup.py b/setup.py index fdd593e..d9dfce0 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ ], install_requires=[ "fgspectra>=1.1.0", - "syslibrary>=0.1.0", + "syslibrary>=0.2.0", "cobaya>=3.4.1", "sacc>=0.9.0", ],