-
Notifications
You must be signed in to change notification settings - Fork 9
combine_sims.py
The first step is to combine the foregrounds and cmb simulations together. This combination should take less than 30 minutes and can be done on an interactive node, remember that you can ask for an interactive node on cori using:
salloc -N 1 -C haswell -q interactive -t 01:00:00
The combination is done by running:
salloc -N 1 -C haswell -q interactive -t 01:00:00
python combine_sims.py global_sims_combine.dict
The python script combine_sims.py can be found: https://github.com/simonsobs/PSpipe/blob/master/project/AnalyseSims/combine_sims.py
The dictionary file 'global_sims_combine.dict' can be found: https://github.com/simonsobs/PSpipe/blob/master/project/AnalyseSims/NERSC_run/global_sims_combine.dict
By default, the components that would be combined are:
combined = dust + synchrotron + freefree + ame + cib + cmb + ksz + tsz
The outputs of the script are three folders:
-
combined_maps : a folder containing the combined maps, it will contain both a noiseless combination of the maps for each frequency as well as two noisy splits.
-
survey_masks : a folder containing survey masks at each frequency.
-
maps_plot : plot of the combined maps and of the survey masks.
Here are examples of combined maps and survey mask