galsci / pysm

PySM 3: Sky emission simulations for Cosmic Microwave Background experiments
https://pysm3.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
33 stars 23 forks source link

Support specifying number of iterations for map2alm #144

Closed zonca closed 1 year ago

zonca commented 1 year ago

If 0, it uses the standard map2alm

yaojian95 commented 1 year ago

Hi, Zonca, are you modifying the pysm and healpy at the same time? Because when I try to use the pysm3.apply_smoothing_and_coord_transform function in the laster version of pysm3 (3.4.0b5), it has the 'AttributeError: module 'healpy' has no attribute 'map2alm_lsq'' for the healpy at version 1.15.0. After I upgrade the healpy to 1.16.2, the new version of pysm3 works well.

Just to remind you of this potential version conflict.

zonca commented 1 year ago

@yaojian95 thank you very much for reporting this! you are right, I need to add the requirement of healpy 1.16.0