galsci / pysm

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

make sure model evaluation is done in double precision #196

Open zonca opened 6 days ago

zonca commented 6 days ago

Often the input maps are in float32, in order to save memory is a good idea to keep them in memory also at float32.

However, as soon as we want to evaluate the model and then bandpass integrate, we want to make sure they are executed in double precision so we avoid accumulating rounding errors.