1 | Title: Status of the programs and scripts used for Amas@Nancay analysis at CCIN2P3
|
---|
2 | Revision: 14/9/11
|
---|
3 | Author: J.E Campagne 22/7/11
|
---|
4 | ----------------------------
|
---|
5 |
|
---|
6 | Intro:
|
---|
7 | All these tools are located for the while in J.E Campagne private directory, so they are not
|
---|
8 | yet available to public usage and this note is essentially for information and software tracking.
|
---|
9 |
|
---|
10 | -----------------------------------------------------------
|
---|
11 | Analysis program
|
---|
12 | ------------------------------------------------------------
|
---|
13 | o analysis.cc
|
---|
14 | - perfom
|
---|
15 | . gain spectra determination + monitoring
|
---|
16 | . ON-OFF spectra without calibration
|
---|
17 | . calibration coefficient determination + monitoring
|
---|
18 | . ON-OFF spectra determination (no RT calibration included)
|
---|
19 | - Todo
|
---|
20 | . include RT calibration, or a RT/BAO calibration using a calibrator source
|
---|
21 | - comments
|
---|
22 | . the STANDARD usage since end september 11 is GAIN + ON-OFF wo calibration
|
---|
23 |
|
---|
24 | -----------------------------------------------------------
|
---|
25 | Collection of Bourne SHELL script for analysis
|
---|
26 | ------------------------------------------------------------
|
---|
27 |
|
---|
28 | A) Utilitary scripts to follow the DAQ & Analysis progress
|
---|
29 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
---|
30 | o statusdaq.sh
|
---|
31 | --------------
|
---|
32 | - perform
|
---|
33 | . scan all the /baoradio/data/AmamNancay to look at the directories and and make
|
---|
34 | a summary of the Data Acquisition
|
---|
35 |
|
---|
36 | o statusheader.sh
|
---|
37 | -----------------
|
---|
38 | - perform
|
---|
39 | . scan Irods directories to look at header fits files extraction progress
|
---|
40 |
|
---|
41 | o statusgain.sh
|
---|
42 | ---------------
|
---|
43 | - perform
|
---|
44 | . scan Irods directories to look at FINAL gain_* files production progress
|
---|
45 |
|
---|
46 | o statuscalib.sh
|
---|
47 | ----------------
|
---|
48 | - perform
|
---|
49 | . scan Irods directories to look at INTERMEDIATE calibcycle files production progress
|
---|
50 | - Todo
|
---|
51 | . scan also for FINAL calib_* files progress
|
---|
52 | o statusonoff.sh
|
---|
53 | ----------------
|
---|
54 | - perform
|
---|
55 | . scan Irods On and Off directories to look at datacycle<cycle> contents
|
---|
56 |
|
---|
57 | o statusCycles.sh
|
---|
58 | -----------------
|
---|
59 | - perform
|
---|
60 | . scan Irods directories to look at sca<>.sum files to count the number of cycles per run
|
---|
61 |
|
---|
62 | B) Utilitary scripts to send to BQS system high level task
|
---|
63 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
---|
64 | o submit2bqs-hdrfitsextractor.sh
|
---|
65 | --------------------------------
|
---|
66 | - SHOULD BE DONE BEFORE gain/calib/analysis
|
---|
67 | - send the hdrfitsextractor.sh script to BQS system
|
---|
68 | - Todo list
|
---|
69 | - TO MIGRATE TO NEW BATCH
|
---|
70 |
|
---|
71 | o submit2bqs-scaextractor.sh
|
---|
72 | --------------------------------
|
---|
73 | - SHOULD BE DONE BEFORE gain/calib/analysis
|
---|
74 | - send statusdaq if necessary
|
---|
75 | - send the scaextractor.sh script to BQS system
|
---|
76 | although this script is called by getscafiles lower level script
|
---|
77 | - Todo list
|
---|
78 | - TO MIGRATE TO NEW BATCH
|
---|
79 |
|
---|
80 | o submit2qs-gainmaker.sh
|
---|
81 | -------------------------
|
---|
82 | - send the gainmaker.sh script to BQS system
|
---|
83 | - Todo list
|
---|
84 | - TO MIGRATE TO NEW BATCH
|
---|
85 |
|
---|
86 | o submit2bqs-rawonoffmaker.sh
|
---|
87 | -----------------------------
|
---|
88 | - used after the gainmaker
|
---|
89 | - send statusdaq if necessary
|
---|
90 | - prepare and send in batch the proc_rawonoff.sh to BQS system
|
---|
91 | - exemple submit2bqs-rawonoffmaker.sh -src Abell85 -date 20110417 -fcycle 8 -lcycle 23 -type ON
|
---|
92 | - Todo list
|
---|
93 | - TO MIGRATE TO NEW BATCH
|
---|
94 |
|
---|
95 | o submit2qs-calibmaker.sh
|
---|
96 | --------------------------
|
---|
97 | - send the calibmaker.sh script to BQS system
|
---|
98 | - Todo list
|
---|
99 | - TO MIGRATE TO NEW BATCH
|
---|
100 |
|
---|
101 | o submit2qs-onoffmaker.sh
|
---|
102 | --------------------------
|
---|
103 | - send the onoffmaker.sh script to BQS system
|
---|
104 | - Todo list
|
---|
105 | - TO MIGRATE TO NEW BATCH
|
---|
106 |
|
---|
107 |
|
---|
108 | C) High level scripts
|
---|
109 | ++++++++++++++++++++++
|
---|
110 | o hdrfitsextractor.sh
|
---|
111 | ---------------------
|
---|
112 | - SHOULD BE DONE BEFORE ANYTHING
|
---|
113 | - perform
|
---|
114 | . extraction of the header part of the signalXYZ.fits files and
|
---|
115 | . put the results into Irods
|
---|
116 | - use
|
---|
117 | . statusdaq.sh
|
---|
118 |
|
---|
119 | o gainmaker.sh
|
---|
120 | ---------------
|
---|
121 | - perform
|
---|
122 | 1) the extraction of signalXYZ.fits files
|
---|
123 | concerned by the OFF-calibration time window
|
---|
124 | of the cycle located at the middle of the run
|
---|
125 | 2) . the analysis of the above fits files to determine the
|
---|
126 | gains of each channel: produce gain_* files (monitoring + gain files)
|
---|
127 | . put the results into Irods
|
---|
128 | - use
|
---|
129 | - statusdaq.sh, proc_script.sh, getscafiles.sh
|
---|
130 | - analysis.cc
|
---|
131 |
|
---|
132 | o calibmaker.sh
|
---|
133 | ---------------
|
---|
134 | - perfom
|
---|
135 | 1) several x-checks to see at which stage of the analysis process we are
|
---|
136 | 2) trig the proc_script.sh script if necessary to create the spectra fits files via specmfib.cc prg
|
---|
137 | 3) . prepare the analysis of the above fits files
|
---|
138 | . put calib_* files (monitoring + calibration files) into Irods
|
---|
139 | - use
|
---|
140 | - statusdaq.sh, proc_script.sh, getscafiles.sh
|
---|
141 | - analysis.cc
|
---|
142 |
|
---|
143 | o onoffmaker.sh (preliminary)
|
---|
144 | ----------------------------
|
---|
145 | - perform
|
---|
146 | 1) several x-checks to see at which stage of the analysis process we are
|
---|
147 | 2) trig the proc_script.sh script if necessary to create the spectra fits files via specmfib.cc prg
|
---|
148 | 3) prepare the analysis of the above fits files
|
---|
149 | 4) put dataRaw_* (raw spectra),
|
---|
150 | dataBAOCalib_* (after BAO calibration),
|
---|
151 | dataBAORTCalib_* (after BAO & RT calibration),
|
---|
152 | diffOnOff_* (ON-OFF spectra)
|
---|
153 |
|
---|
154 | D) Lower level scripts
|
---|
155 | ++++++++++++++++++++++
|
---|
156 |
|
---|
157 | o proc_rawonoff.sh
|
---|
158 | ------------------
|
---|
159 | - this is the script to use to perform the "datacycle" contents
|
---|
160 | - perform all the preparation work to send in batch the "specmfib" program
|
---|
161 | which perform the FFT and median/mean spectra for the ON-OFF task
|
---|
162 | - use
|
---|
163 | - getscafiles.sh, select.sh, statusdaq.sh, getsignalfiles.sh
|
---|
164 | - comments
|
---|
165 | - contrary to proc_script (below) specmfib is activated in the same thread
|
---|
166 |
|
---|
167 | o proc_script.sh
|
---|
168 | -----------------
|
---|
169 | - VERY BUSY script
|
---|
170 | - perform
|
---|
171 | 1) all the preparation work to send in batch the "specmfib" program
|
---|
172 | which perform the FFT and median/mean spectra for GAIN, CALIBRATION, ON-OFF task
|
---|
173 | 2) the script that is sent in batch put the results into Irods
|
---|
174 | - use
|
---|
175 | - getscafiles.sh, select.sh, getsignalfiles.sh
|
---|
176 | - Todo list
|
---|
177 | - TO MIGRATE TO NEW BATCH
|
---|
178 |
|
---|
179 |
|
---|
180 | o scaextractor.sh
|
---|
181 | -----------------
|
---|
182 | - perform
|
---|
183 | 1) extraction of the scaXYZ file
|
---|
184 | 2) if the scaXYZ.sum and the scaXYZ.sum.trans files do not exist
|
---|
185 | . create and put them into Irods
|
---|
186 | . scaXYZ.sum = summary of the SCA file
|
---|
187 | . scaXYZ.sum.trans = transformation of the date format of the scaXYZ.sum file
|
---|
188 | - use
|
---|
189 | - sca.sh, transdate.sh
|
---|
190 |
|
---|
191 | o sca.sh
|
---|
192 | --------
|
---|
193 | - perform
|
---|
194 | . produce the scaXYZ.sum (= summary of the SCA file) from a scaXYZ file
|
---|
195 |
|
---|
196 | o transdate.sh
|
---|
197 | --------------
|
---|
198 | - perform
|
---|
199 | . produce the scaXYZ.sum.trans (= transformation of the date format) from the scaXYZ.sum file
|
---|
200 |
|
---|
201 | o select.sh
|
---|
202 | -----------
|
---|
203 | -perform
|
---|
204 | . the selection of the signalXYZ.fits files according to the type of task requested
|
---|
205 | as ON, OFF, CALIBON, CALIBOFF, GAIN
|
---|
206 |
|
---|
207 | o getscafiles.sh
|
---|
208 | ----------------
|
---|
209 | - perform
|
---|
210 | . download from Irods the scaXYZ, scaXYZ.sum and scaXYZ.sum.trans files
|
---|
211 | - use
|
---|
212 | scaextractor.sh
|
---|
213 |
|
---|
214 | o getsignals.sh
|
---|
215 | ---------------
|
---|
216 | - perform
|
---|
217 | . download from Irods the signalXYZ.fits files
|
---|
218 |
|
---|
219 |
|
---|
220 |
|
---|
221 |
|
---|