simonsobs / pixell

A rectangular pixel map manipulation and harmonic analysis library derived from Sigurd Naess' enlib.
Other
42 stars 32 forks source link

Fix alm2map 2d #255

Closed amaurea closed 7 months ago

amaurea commented 7 months ago

Fix a bug where on rare occasions, fullsky maps would end up rotated in RA after an alm2map operation. This was caused by wcs.pix2world returning nan when evaluated at the map edge when bounds checking is turned on. Fixed by both turning off bounds checks and by using the middle of the map in declination instead of the bottom.