-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
49 lines (43 loc) · 2.32 KB
/
config.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
42
43
44
45
46
47
48
49
bat_ml_dir='/storage/work/jjd330/local/bat_data/BatML/'
ftool_wrap='/storage/work/jjd330/local/bat_data/BatML/HeasoftTools/run_ftool.sh'
rt_dir='/gpfs/scratch/jjd330/bat_data/ray_traces_detapp_npy/'
fp_dir = '/gpfs/scratch/jjd330/bat_data/footprints_npy/'
#drm_dir='/gpfs/scratch/jjd330/bat_data/drms/'
drm_dir='/storage/work/jjd330/local/bat_data/drms/'
drm_quad_dir='/gpfs/scratch/jjd330/bat_data/drms4quads/'
solid_angle_dpi_fname='/storage/work/jjd330/local/bat_data/solid_angle_dpi.npy'
bright_source_table_fname='/storage/work/jjd330/local/bat_data/BatML/bright_src_cat.fits'
HEADAS="/storage/work/jjd330/heasoft/heasoft-6.21/x86_64-unknown-linux-gnu-libc2.12"
HEADAS_INIT="/storage/work/jjd330/heasoft/heasoft-6.21/x86_64-unknown-linux-gnu-libc2.12/headas-init.sh"
CALDB="/storage/work/jjd330/caldb_files"
CALDB_INIT="/storage/work/jjd330/caldb_files/software/tools/caldbinit.sh"
EBINS0 = [14., 24., 36.3, 55.4, 80.0, 120.7]
EBINS1 = [24., 36.3, 55.4, 80.0, 120.7, 194.9]
quad_dicts = {'all':{'quads':[0,1,2,3],
'drm_fname':'drm_0.200_0.150_.fits',
'imx':0.2, 'imy':0.15, 'id':0},
'left':{'quads':[0,1],
'drm_fname':'drm_1.000_0.150_.fits',
'imx':1.0, 'imy':0.15, 'id':1},
'top':{'quads':[1,2],
'drm_fname':'drm_-0.000_-0.500_.fits',
'imx':0.0, 'imy':-0.5, 'id':2},
'right':{'quads':[2,3],
'drm_fname':'drm_-1.000_0.150_.fits',
'imx':-1.0, 'imy':0.15, 'id':3},
'bottom':{'quads':[3,0],
'drm_fname':'drm_-0.000_0.450_.fits',
'imx':0.0, 'imy':0.45, 'id':4},
'quad0':{'quads':[0],
'drm_fname':'drm_1.000_0.500_.fits',
'imx':1.0, 'imy':0.5, 'id':5},
'quad1':{'quads':[1],
'drm_fname':'drm_0.800_-0.400_.fits',
'imx':0.8, 'imy':-0.4, 'id':6},
'quad2':{'quads':[2],
'drm_fname':'drm_-0.750_-0.450_.fits',
'imx':-0.75, 'imy':-0.45, 'id':7},
'quad3':{'quads':[3],
'drm_fname':'drm_-1.100_0.500_.fits',
'imx':-1.1, 'imy':0.5, 'id':8}
}