-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_lens_apod.py
42 lines (35 loc) · 975 Bytes
/
run_lens_apod.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
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python
# coding: utf-8
import numpy as np
import local
import tools_lens
import quad_func
kwargs_cmb = {\
'snmin':0, \
'snmax':100, \
'fltr':'none', \
'wind':'com16', \
'ivar':'noivar', \
#'ivar':'base', \
'ptsr':'base', \
}
kwargs_ov = {\
'overwrite':True, \
'verbose':True \
}
kwargs_q0 = {\
'rlmin':500, \
'qlist':['TT'], \
'n0max':int(kwargs_cmb['snmax']/2), \
'mfmax':kwargs_cmb['snmax'], \
'rdmax':kwargs_cmb['snmax'] \
}
kwargs_q1 = kwargs_q0.copy()
kwargs_q1['bhe'] = ['src']
for kwargs_q in [kwargs_q0,kwargs_q1]:
#for kwargs_q in [kwargs_q0]:
#for qid in ['boss_d03']:
#for qid in ['boss_s15dn']:
for qid in ['boss_s16d']:
tools_lens.interface(qid,run=['norm','qrec','n0','rdn0','mean','aps'],kwargs_ov=kwargs_ov,kwargs_cmb=kwargs_cmb,kwargs_qrec=kwargs_q)
#tools_lens.interface(qid,run=['aps'],kwargs_ov=kwargs_ov,kwargs_cmb=kwargs_cmb,kwargs_qrec=kwargs_q)