-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_covsqrt.py
executable file
·32 lines (25 loc) · 1.37 KB
/
get_covsqrt.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import os,sys
# //// ACT mr3 for night time //// #
# S15
for array in ['pa1','pa2','pa3']:
for patch in ['boss']:
#for patch in ['deep56','boss']:
cmd = "python actsims/bin/make_covsqrt.py v6.3.0_calibrated act_mr3 --season s15 --patch "+patch+" --array "+array+" --covsqrt-kind multipow --overwrite --mask-version padded_v1 --nsims 0 --debug --delta-ell 100 --calibrated"
#os.system(cmd)
for array in ['pa1','pa2','pa3']:
for patch in ['boss']:
#for patch in ['deep56','boss']:
cmd = "python actsims/bin/make_covsqrt.py v6.3.0_calibrated act_mr3 --season s15 --patch "+patch+" --array "+array+" --covsqrt-kind multipow --overwrite --mask-version padded_v1 --nsims 0 --debug --delta-ell 100 --calibrated"
#os.system(cmd)
# //// DR5 for daytime //// #
#qid = ['boss_d01','boss_d02','boss_d03','s16_d01','s16_d02']
#qid = ['boss_d03']
#qid = ['s16_d01','s16_d02']
#qid = ['bndn_01','bndn_02']
qid = []
for q in qid:
# calculate cov_sqrt
cmd = "python actsims/bin/make_covsqrt_dr5.py v6.3.0_calibrated dr5 --covsqrt-kind multipow --qid "+q+" --overwrite --delta-ell 100 --nsims 0 --debug --calc_covsqrt --calibrated"
# run sim with pre-computed cov_sqrt
#cmd = "python actsims/bin/make_covsqrt_dr5.py v6.3.0_calibrated dr5 --covsqrt-kind multipow --qid "+q+" --overwrite --fill-const --delta-ell 100 --nsims 3 --debug"
os.system(cmd)