carronj / plancklens

Planck 2018 lensing pipeline
Other
21 stars 17 forks source link

Typo in get_n0_iter and duplicate function #19

Closed louisl3grand closed 2 years ago

louisl3grand commented 2 years ago

It seems there is a typo in the function nhl.get_N0_iter where it sums the datnoise_cls['ee'] instead of datnoise_cls['tt] to the partially delensed cls. Also, this function get_N0_iter is present two times, one in nhl.py and one in n0s.py, and the typo is also present in the n0s.py file. I would suggest to only keep one of the two functions to avoid mistakes ?

carronj commented 2 years ago

ok, thanks for spotting this!