Skip to content

Commit

Permalink
fix healpix failure in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
adrien-laposta committed Oct 29, 2024
1 parent a59e032 commit 8dc35cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/compute_pseudo_cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def main(args):
f"bundle{id_bundle}_{f}.png")
plt.close()

wcs = m.wcs
wcs = m.wcs if meta.pix_type == "car" else None

field_spin0 = nmt.NmtField(mask, m[:1], wcs=wcs)
field_spin2 = nmt.NmtField(mask, m[1:], wcs=wcs, purify_b=meta.pure_B)
Expand Down

0 comments on commit 8dc35cd

Please sign in to comment.