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
Allow generating CMB+FG sims by precomputing CMB+FG alm
Allow caching alm or maps in memory.
Good things to have in the future
Allow caching noise templates in memory
A more generic framework to loop through different patches.
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
Good things to have in the future