Skip to content

Commit ee8d862

Browse files
author
Louis Thibaut
committed
add options for pw for different sv
1 parent a8cb563 commit ee8d862

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

project/SPT_dev/spt_get_mcm_and_bbl.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def apply_pixwin_to_beam(l, bl, l_pw, pw, pow=1):
3535
binned_mcm = d["binned_mcm"]
3636
pure = d["pure"]
3737

38-
l_pw, pw = np.loadtxt(d["pixwin_spt_file"], unpack=True)
38+
l_pw, pw = {}, {}
39+
for sv in surveys:
40+
l_pw[sv], pw[sv] = np.loadtxt(d[f"pixwin_{sv}_file"], unpack=True)
3941

4042

4143
if d["use_toeplitz_mcm"] == True:

0 commit comments

Comments
 (0)