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

GNILC dust, new small scales implementation #133

Closed zonca closed 2 years ago

zonca commented 2 years ago
review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

zonca commented 2 years ago

See https://github.com/galsci/pysm/issues/101

zonca commented 2 years ago

ok, I have modified giuspugl notebook to have a fixed seed and used it to compare with my 2-step implementation (first generate inputs in spherical harmonics space, basically inputs to d11, then from that create the d10 templates), for reference:

https://gist.github.com/c5f71634f4466a52945eb22b0044a3c2 https://gist.github.com/3bf14002bb54d2959c9cb02de48674fe

zonca commented 2 years ago

I have re-created the templates also for Td and beta using the new modulation maps and also applying modulation outside of the GAL080 mask.

zonca commented 2 years ago

See the new d9 and d10 templates in:

https://portal.nersc.gov/project/cmb/pysm-data/dust_gnilc/

the inputs to d11:

https://portal.nersc.gov/project/cmb/pysm-data/dust_gnilc/raw/

also accessible directly at NERSC at:

/global/project/projectdirs/cmb/www/pysm-data/dust_gnilc
zonca commented 2 years ago

unit tests are passing. Now testing at NERSC the one that requires a lot of memory and is disabled here:

pysm3/tests/test_dust_pysm3.py::test_d10_vs_d11
zonca commented 2 years ago

d10 vs d11 passes at NERSC both at 353 and 857