From 201b78a1b4b5ed370b7e66a93eeb095e79a4e539 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Dec 2025 10:56:06 +0000 Subject: [PATCH 1/2] Initial plan From 49f2f287c6bd7c099194a7e71eef778e3358994c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 9 Dec 2025 10:59:44 +0000 Subject: [PATCH 2/2] Fix typo: change 'reidual' to 'residual' Co-authored-by: louisl3grand <50632020+louisl3grand@users.noreply.github.com> --- delensalot/biases/n0n1_iterative.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delensalot/biases/n0n1_iterative.py b/delensalot/biases/n0n1_iterative.py index dd56a707..3a87cfaa 100644 --- a/delensalot/biases/n0n1_iterative.py +++ b/delensalot/biases/n0n1_iterative.py @@ -399,7 +399,7 @@ def get_delcls(qe_key: str, itermax, cls_unl_fid: dict, cls_unl_true:dict, cls_n cls_plen_true['pp'] = cldd_true * utils.cli(np.arange(len(cldd_true)) ** 2 * np.arange(1, len(cldd_true) + 1, dtype=float) ** 2 / (2. * np.pi)) cls_plen_fid['pp'] = cldd_fid * utils.cli(np.arange(len(cldd_fid)) ** 2 * np.arange(1, len(cldd_fid) + 1, dtype=float) ** 2 / (2. * np.pi)) if 'wE' in version and it>0: - # Need to convert the template of the lensing power spectrum: Cldd*rho, into the reidual lensing of the map: Cldd*(1-rho) + # Need to convert the template of the lensing power spectrum: Cldd*rho, into the residual lensing of the map: Cldd*(1-rho) cls_plen_true['pp'] = cls_plen_true['pp'] *utils.cli( rho_sqd_phi) * (1. - rho_sqd_phi) cls_plen_fid['pp'] = cls_plen_fid['pp'] *utils.cli( rho_sqd_phi) * (1. - rho_sqd_phi) elif 'wE' in version and it ==0: