Skip to content

Commit

Permalink
define beams=None in case no beam chromaticity effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Thibaut committed Sep 24, 2024
1 parent de5f2f1 commit d71e0d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions project/data_analysis/python/port2sacc.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
bbl = np.load(os.path.join(mcm_dir, f"{spec_name_list[0]}_Bbl_spin0xspin0.npy"))
bbls = {cross: bbl for cross in spec_name_list}


beams = None
if d["include_beam_chromaticity_effect"]:
log.info(f"include beam array accounting for beam chromaticity \n")

Expand All @@ -73,7 +73,6 @@
alpha_dict[map_set])
beams[map_set] = [l, dict(T=bl_nu, E=bl_nu)]


# Define metadata such as dict content or libraries version
metadata = dict(
author=d.get("author", "SO Collaboration PS Task Force"),
Expand Down

0 comments on commit d71e0d2

Please sign in to comment.