-
Notifications
You must be signed in to change notification settings - Fork 3
/
DECam.ini
87 lines (69 loc) · 6.34 KB
/
DECam.ini
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# configuration file for DECAM@CTIO images
#
# History comments:
#
# 21.07.2014:
# project started
#
# 16.09.2014:
# instrument name change: DECAM -> DECam
# If we include this script in bash verbose and trace mode we do not want
# all the (verbose) output from this script:
USE_X=0
if [[ ${-/x} != $- ]] ; then
USE_X=1
set +xv
fi
# load directories for programs
INSTRUMENT=DECam
export INSTRUMENT
# The telescope on which the instrument is mounted:
TELESCOPE="CTIO 4.0-m telescope"
# Number of chips:
NCHIPS=62
export NCHIPS
NCHIPSMAX=62
export NCHIPSMAX
# 'album outputdimensions' (To use the album program to create small
# pasted images we also need to provide an album_DECAM.conf offsetsfile).
ALBUMOUTSIZE="29500 29200"
# number of frames we can work with
NFRAMES=20
# the latitude of the observatory (CTIO)
# (needed for calculating the airmass)
OBSLAT=-30.166
# the longitude of the observatory (CTIO)
# (needed for calculating the airmass)
OBSLONG=-70.81489
# reference time:
# this is 12:00 plus the number of ours *west*
# of Grennwich
REFERENCETIME=16:00:00
# statistics sections (for mode calculations etc.)
# the first two values are the centers, the second two
# the extension (in pixels); is the same for all chips
STATSALLIM=([1]=1000 [2]=2000 [3]=1000 [4]=1000)
STATSXMIN=$(( ${STATSALLIM[1]} - ${STATSALLIM[3]} / 2 ))
STATSXMAX=$(( ${STATSALLIM[1]} + ${STATSALLIM[3]} / 2 ))
STATSYMIN=$(( ${STATSALLIM[2]} - ${STATSALLIM[4]} / 2 ))
STATSYMAX=$(( ${STATSALLIM[2]} + ${STATSALLIM[4]} / 2 ))
# Pixel scale in arcsec
PIXSCALE=0.2632
# Overscan regions. The values are the x-range.
# The min is given by OVSCANX1, the max by OVSCANX2.
# We need separate regions for each chip.
OVSCANX1=([1]=10 [2]=10 [3]=10 [4]=10 [5]=10 [6]=10 [7]=10 [8]=10 [9]=10 [10]=10 [11]=10 [12]=10 [13]=10 [14]=10 [15]=10 [16]=10 [17]=10 [18]=10 [19]=10 [20]=10 [21]=10 [22]=10 [23]=10 [24]=10 [25]=10 [26]=10 [27]=10 [28]=10 [29]=10 [30]=10 [31]=10 [32]=10 [33]=10 [34]=10 [35]=10 [36]=10 [37]=10 [38]=10 [39]=10 [40]=10 [41]=10 [42]=10 [43]=10 [44]=10 [45]=10 [46]=10 [47]=10 [48]=10 [49]=10 [50]=10 [51]=10 [52]=10 [53]=10 [54]=10 [55]=10 [56]=10 [57]=10 [58]=10 [59]=10 [60]=10 [61]=10 [62]=10)
OVSCANX2=([1]=50 [2]=50 [3]=50 [4]=50 [5]=50 [6]=50 [7]=50 [8]=50 [9]=50 [10]=50 [11]=50 [12]=50 [13]=50 [14]=50 [15]=50 [16]=50 [17]=50 [18]=50 [19]=50 [20]=50 [21]=50 [22]=50 [23]=50 [24]=50 [25]=50 [26]=50 [27]=50 [28]=50 [29]=50 [30]=50 [31]=50 [32]=50 [33]=50 [34]=50 [35]=50 [36]=50 [37]=50 [38]=50 [39]=50 [40]=50 [41]=50 [42]=50 [43]=50 [44]=50 [45]=50 [46]=50 [47]=50 [48]=50 [49]=50 [50]=50 [51]=50 [52]=50 [53]=50 [54]=50 [55]=50 [56]=50 [57]=50 [58]=50 [59]=50 [60]=50 [61]=50 [62]=50)
# Sections for the cutting. Select those pixels that receive light.
# Give min values for x and y, and the extent in x and y.
CUTX=([1]=73 [2]=73 [3]=73 [4]=73 [5]=73 [6]=73 [7]=73 [8]=73 [9]=73 [10]=73 [11]=73 [12]=73 [13]=73 [14]=73 [15]=73 [16]=73 [17]=73 [18]=73 [19]=73 [20]=73 [21]=73 [22]=73 [23]=73 [24]=73 [25]=73 [26]=73 [27]=73 [28]=73 [29]=73 [30]=73 [31]=73 [32]=73 [33]=73 [34]=73 [35]=73 [36]=73 [37]=73 [38]=73 [39]=73 [40]=73 [41]=73 [42]=73 [43]=73 [44]=73 [45]=73 [46]=73 [47]=73 [48]=73 [49]=73 [50]=73 [51]=73 [52]=73 [53]=73 [54]=73 [55]=73 [56]=73 [57]=73 [58]=73 [59]=73 [60]=73 [61]=73 [62]=73)
CUTY=([1]=67 [2]=67 [3]=67 [4]=67 [5]=67 [6]=67 [7]=67 [8]=67 [9]=67 [10]=67 [11]=67 [12]=67 [13]=67 [14]=67 [15]=67 [16]=67 [17]=67 [18]=67 [19]=67 [20]=67 [21]=67 [22]=67 [23]=67 [24]=67 [25]=67 [26]=67 [27]=67 [28]=67 [29]=67 [30]=67 [31]=67 [32]=17 [33]=17 [34]=17 [35]=17 [36]=17 [37]=17 [38]=17 [39]=17 [40]=17 [41]=17 [42]=17 [43]=17 [44]=17 [45]=17 [46]=17 [47]=17 [48]=17 [49]=17 [50]=17 [51]=17 [52]=17 [53]=17 [54]=17 [55]=17 [56]=17 [57]=17 [58]=17 [59]=17 [60]=17 [61]=17 [62]=17)
SIZEX=([1]=2016 [2]=2016 [3]=2016 [4]=2016 [5]=2016 [6]=2016 [7]=2016 [8]=2016 [9]=2016 [10]=2016 [11]=2016 [12]=2016 [13]=2016 [14]=2016 [15]=2016 [16]=2016 [17]=2016 [18]=2016 [19]=2016 [20]=2016 [21]=2016 [22]=2016 [23]=2016 [24]=2016 [25]=2016 [26]=2016 [27]=2016 [28]=2016 [29]=2016 [30]=2016 [31]=2016 [32]=2016 [33]=2016 [34]=2016 [35]=2016 [36]=2016 [37]=2016 [38]=2016 [39]=2016 [40]=2016 [41]=2016 [42]=2016 [43]=2016 [44]=2016 [45]=2016 [46]=2016 [47]=2016 [48]=2016 [49]=2016 [50]=2016 [51]=2016 [52]=2016 [53]=2016 [54]=2016 [55]=2016 [56]=2016 [57]=2016 [58]=2016 [59]=2016 [60]=2016 [61]=2016 [62]=2016)
SIZEY=([1]=4064 [2]=4064 [3]=4064 [4]=4064 [5]=4064 [6]=4064 [7]=4064 [8]=4064 [9]=4064 [10]=4064 [11]=4064 [12]=4064 [13]=4064 [14]=4064 [15]=4064 [16]=4064 [17]=4064 [18]=4064 [19]=4064 [20]=4064 [21]=4064 [22]=4064 [23]=4064 [24]=4064 [25]=4064 [26]=4064 [27]=4064 [28]=4064 [29]=4064 [30]=4064 [31]=4064 [32]=4064 [33]=4064 [34]=4064 [35]=4064 [36]=4064 [37]=4064 [38]=4064 [39]=4064 [40]=4064 [41]=4064 [42]=4064 [43]=4064 [44]=4064 [45]=4064 [46]=4064 [47]=4064 [48]=4064 [49]=4064 [50]=4064 [51]=4064 [52]=4064 [53]=4064 [54]=4064 [55]=4064 [56]=4064 [57]=4064 [58]=4064 [59]=4064 [60]=4064 [61]=4064 [62]=4064)
# Reference pixels for each chip.
REFPIXX=([1]=2151 [2]=2151 [3]=2151 [4]=-103 [5]=-103 [6]=-103 [7]=4405 [8]=4405 [9]=6660 [10]=6660 [11]=8914 [12]=11168 [13]=-2357 [14]=-2357 [15]=-4612 [16]=-4612 [17]=-6866 [18]=-9120 [19]=4405 [20]=4405 [21]=4405 [22]=4405 [23]=6660 [24]=6660 [25]=6660 [26]=6660 [27]=8914 [28]=8914 [29]=8914 [30]=8914 [31]=11168 [32]=11168 [33]=11168 [34]=13423 [35]=13423 [36]=13423 [37]=-103 [38]=-103 [39]=-103 [40]=-103 [41]=2151 [42]=2151 [43]=2151 [44]=2151 [45]=-2357 [46]=-2357 [47]=-2357 [48]=-2357 [49]=-4612 [50]=-4612 [51]=-4612 [52]=-4612 [53]=-6866 [54]=-6866 [55]=-6866 [56]=-6866 [57]=-9120 [58]=-9120 [59]=-9120 [60]=-11375 [61]=-11375 [62]=-11375)
REFPIXY=([1]=14826 [2]=10566 [3]=6307 [4]=14826 [5]=10566 [6]=6307 [7]=12696 [8]=8437 [9]=12696 [10]=8437 [11]=10566 [12]=8437 [13]=12696 [14]=8437 [15]=12696 [16]=8437 [17]=10566 [18]=8437 [19]=4177 [20]=-81 [21]=-4341 [22]=-8600 [23]=-4341 [24]=-8600 [25]=4177 [26]=-81 [27]=6307 [28]=2048 [29]=-2211 [30]=-6470 [31]=4177 [32]=-81 [33]=-4341 [34]=6307 [35]=2048 [36]=-2211 [37]=2048 [38]=-2211 [39]=-6470 [40]=-10730 [41]=2048 [42]=-2211 [43]=-6470 [44]=-10730 [45]=4177 [46]=-81 [47]=-4341 [48]=-8600 [49]=-4341 [50]=-8600 [51]=4177 [52]=-81 [53]=6307 [54]=2048 [55]=-2211 [56]=-6470 [57]=4177 [58]=-81 [59]=-4341 [60]=6307 [61]=2048 [62]=-2211)
# restore verbose and xtrace bash flags if necessary:
if [ ${USE_X} -eq 1 ]; then
set -xv
fi