Skip to content

Commit

Permalink
Changes in calibration to reflect ones made in syslib (#72)
Browse files Browse the repository at this point in the history
* Changes in calibration to reflect ones made in syslib

* Bumped requirements for syslib
  • Loading branch information
beringueb authored Feb 21, 2024
1 parent 7ba162b commit f37d2a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mflike/theoryforge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down

0 comments on commit f37d2a7

Please sign in to comment.