ACTCollaboration / actsims

Simulations of the microwave sky as seen by ACT and Planck.
9 stars 4 forks source link

Initial implementation for batchTools.py #12

Closed dwhan89 closed 5 years ago

dwhan89 commented 5 years ago

I have reorganized some functions in simTools.py into batchTools.py. The current implementation is mostly useful when one needs to generate multiple sims for a given patch and iteration number, but it can be expanded to cover more generic cases. Two main changes features are

  1. Allow generating CMB+FG sims by precomputing CMB+FG alm
  2. Allow caching alm or maps in memory.

Good things to have in the future

  1. Allow caching noise templates in memory
  2. A more generic framework to loop through different patches.
msyriac commented 5 years ago

This should be ready to merge to master. @ajvanengelen