1 | Title: Status of the programs and scripts used for Amas@Nancay analysis at CCIN2P3 |
---|
2 | Revision: 28/11/11 (JEC+AST) |
---|
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 | o etude_gain.pic |
---|
26 | - perform |
---|
27 | . plot gain spectra/monitoring from a run dataset |
---|
28 | |
---|
29 | o etude_gain_medfiltmtx.pic |
---|
30 | - perform |
---|
31 | . plot all the medfiltmtx*.fits from a specific calibcycle |
---|
32 | |
---|
33 | o etude_dab.pic |
---|
34 | - perform |
---|
35 | . extract baseline, dab1 and dab2 spectra |
---|
36 | |
---|
37 | o dabchrom_plot.pic |
---|
38 | - perform |
---|
39 | . compare dab spectra from our data vs. other calibrations |
---|
40 | |
---|
41 | o etude_mergeAna.pic |
---|
42 | - perform |
---|
43 | . compare results wo calibration vs. calibration per run/cycle |
---|
44 | . ON-OFF, (ON-OFF)/OFF_filt, ON/OFF, OFF/OFF in the whole range [1250,1500]MHz |
---|
45 | . ON/OFF, OFF/OFF in the range [1410,1415]MHz |
---|
46 | . evolution of ON-OFF integrated intensity at calibration frequency, 1420MHz and its side-bands, |
---|
47 | and in [1400-1420]MHz |
---|
48 | . evolution of ON-OFF integrated intensity of (1420MHz line - sidebands) |
---|
49 | . dependence of ON-OFF sensitivity with integration time at 1420MHz and its side-bands, |
---|
50 | and in [1400-1420]MHz |
---|
51 | |
---|
52 | o plotRawDiffOnOff.pic |
---|
53 | |
---|
54 | - perform |
---|
55 | . plot results wo calibration |
---|
56 | . (ON-OFF)/OFF_filt in the whole range [1250,1500]MHz |
---|
57 | . ON/OFF, OFF/OFF in the range [1410,1415]MHz |
---|
58 | . evolution of (ON-OFF)/OFF_filt integrated intensity at 1420MHz and its side-bands, |
---|
59 | and in [1400-1420]MHz |
---|
60 | . evolution of (ON-OFF)/OFF_filt integrated intensity of (1420MHz line - sidebands) |
---|
61 | . dependence of ON-OFF sensitivity with integration time at 1420MHz side-bands, |
---|
62 | and in [1410-1415]MHz |
---|
63 | |
---|
64 | |
---|
65 | ----------------------------------------------------------- |
---|
66 | Collection of Bourne SHELL script for analysis |
---|
67 | ------------------------------------------------------------ |
---|
68 | |
---|
69 | A) Utilitary scripts to follow the DAQ & Analysis progress |
---|
70 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
71 | o mkarchive.sh |
---|
72 | --------------- |
---|
73 | - perform the archive of a processing in Irods |
---|
74 | . create a <ppTag>Arch<apTag> directory |
---|
75 | . move the calib_*.txt files |
---|
76 | . move the *.ppf / *.fits files results of the analysis |
---|
77 | . for the gain...fits only a copy is done to keep a version |
---|
78 | . move the Off and On directorys |
---|
79 | . create new fresh On and Off directory |
---|
80 | |
---|
81 | |
---|
82 | o statusdaq.sh |
---|
83 | -------------- |
---|
84 | - perform |
---|
85 | . scan all the /baoradio/data/AmasNancay to look at the directories and and make |
---|
86 | a summary of the Data Acquisition |
---|
87 | |
---|
88 | o statusheader.sh |
---|
89 | ----------------- |
---|
90 | - perform |
---|
91 | . scan Irods directories to look at header fits files extraction progress |
---|
92 | |
---|
93 | o statusgain.sh |
---|
94 | --------------- |
---|
95 | - perform |
---|
96 | . scan Irods directories to look at FINAL gain_* files production progress |
---|
97 | |
---|
98 | o statuscalib.sh |
---|
99 | ---------------- |
---|
100 | - perform |
---|
101 | . scan Irods directories to look at INTERMEDIATE calibcycle files production progress |
---|
102 | - Todo |
---|
103 | . scan also for FINAL calib_* files progress |
---|
104 | o statusonoff.sh |
---|
105 | ---------------- |
---|
106 | - perform |
---|
107 | . scan Irods On and Off directories to look at datacycle<cycle> contents |
---|
108 | |
---|
109 | o statusCycles.sh |
---|
110 | ----------------- |
---|
111 | - perform |
---|
112 | . scan Irods directories to look at sca<>.sum files to count the number of cycles per run |
---|
113 | |
---|
114 | B) Utilitary scripts to send to GE system high level task (note old BQS batch is obsolete now) |
---|
115 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
---|
116 | o submit2ge-hdrfitsextractor.sh |
---|
117 | -------------------------------- |
---|
118 | - SHOULD BE DONE BEFORE gain/calib/analysis |
---|
119 | - send the hdrfitsextractor.sh script to GE system |
---|
120 | |
---|
121 | |
---|
122 | o submit2ge-procspecmfib.sh |
---|
123 | ----------------------------- |
---|
124 | - SHOULD BE DONE for processing signals for FFT/paquet median filtering |
---|
125 | - GAIN/CALIB/ON, OFF... |
---|
126 | - prepare and send in batch the proc_specmfib.sh to GE |
---|
127 | - exemple |
---|
128 | ./submit2ge-procspecmfib.sh -src Abell85 -date 20110422 -type CALIBOFF -fcycle 8 -lcycle 14 |
---|
129 | |
---|
130 | o submit2ge-anagainmaker.sh |
---|
131 | ---------------------------- |
---|
132 | - done after proc_specmfib |
---|
133 | - prepare and send the analyse.cc prg for gain computation |
---|
134 | - exemple |
---|
135 | |
---|
136 | o submit2ge-anacalibmaker.sh |
---|
137 | ---------------------------- |
---|
138 | - done after proc_specmfib |
---|
139 | - prepare and send the analyse.cc prg for calibration computation |
---|
140 | - exemples: |
---|
141 | > $./submit2ge-anacalibmaker.sh -src Abell85 -date 20110410 |
---|
142 | |
---|
143 | o submit2ge-scaextractor.sh |
---|
144 | -------------------------------- |
---|
145 | - SHOULD BE DONE BEFORE gain/calib/analysis |
---|
146 | - send the scaextractor.sh script to GE system |
---|
147 | although this script is called by getscafiles lower level script |
---|
148 | |
---|
149 | |
---|
150 | C) High level scripts |
---|
151 | ++++++++++++++++++++++ |
---|
152 | o hdrfitsextractor.sh |
---|
153 | --------------------- |
---|
154 | - SHOULD BE DONE BEFORE ANYTHING |
---|
155 | - perform |
---|
156 | . extraction of the header part of the signalXYZ.fits files and |
---|
157 | . put the results into Irods |
---|
158 | - use |
---|
159 | . statusdaq.sh |
---|
160 | |
---|
161 | o anagainmaker.sh |
---|
162 | ----------------- |
---|
163 | - perform |
---|
164 | . the analysis to determine the |
---|
165 | gains of each channel: produce gain_* files (monitoring + gain files) |
---|
166 | . put the results into Irods |
---|
167 | - use |
---|
168 | - getscafiles.sh |
---|
169 | - analysis.cc |
---|
170 | |
---|
171 | o anacalibmaker.sh |
---|
172 | ------------------ |
---|
173 | - perfom |
---|
174 | . prepare the analysis |
---|
175 | . put calib_* files (monitoring + calibration files) into Irods |
---|
176 | - use |
---|
177 | - getscafiles.sh |
---|
178 | - analysis.cc |
---|
179 | |
---|
180 | |
---|
181 | |
---|
182 | o anarawonoffmaker.sh |
---|
183 | --------------------- |
---|
184 | - perform |
---|
185 | . prepare the analysis |
---|
186 | . put dataRaw_* (raw spectra), |
---|
187 | diffOnOffRaw_* (ON-OFF spectra although not used by final analysis) |
---|
188 | |
---|
189 | D) Lower level scripts |
---|
190 | ++++++++++++++++++++++ |
---|
191 | |
---|
192 | o proc_specmfib.sh |
---|
193 | ------------------ |
---|
194 | - perform all the preparation work to send in batch the "specmfib" |
---|
195 | program which perform the FFT and median/mean spectra |
---|
196 | for the GAIN/CALIB/ON-OFF... task |
---|
197 | - use |
---|
198 | - getscafiles.sh, select.sh, statusdaq.sh, getsignalfiles.sh |
---|
199 | - comments |
---|
200 | - this is the pre-processing of the data to be used before |
---|
201 | anaXYZ script which are post-processing |
---|
202 | |
---|
203 | |
---|
204 | o scaextractor.sh |
---|
205 | ----------------- |
---|
206 | - perform |
---|
207 | 1) extraction of the scaXYZ file |
---|
208 | 2) if the scaXYZ.sum and the scaXYZ.sum.trans files do not exist |
---|
209 | . create and put them into Irods |
---|
210 | . scaXYZ.sum = summary of the SCA file |
---|
211 | . scaXYZ.sum.trans = transformation of the date format of the scaXYZ.sum file |
---|
212 | - use |
---|
213 | - sca.sh, transdate.sh |
---|
214 | |
---|
215 | o sca.sh |
---|
216 | -------- |
---|
217 | - perform |
---|
218 | . produce the scaXYZ.sum (= summary of the SCA file) from a scaXYZ file |
---|
219 | |
---|
220 | o transdate.sh |
---|
221 | -------------- |
---|
222 | - perform |
---|
223 | . produce the scaXYZ.sum.trans (= transformation of the date format) from the scaXYZ.sum file |
---|
224 | |
---|
225 | o select.sh |
---|
226 | ----------- |
---|
227 | -perform |
---|
228 | . the selection of the signalXYZ.fits files according to the type of task requested |
---|
229 | as ON, OFF, CALIBON, CALIBOFF, GAIN |
---|
230 | |
---|
231 | o getscafiles.sh |
---|
232 | ---------------- |
---|
233 | - perform |
---|
234 | . download from Irods the scaXYZ, scaXYZ.sum and scaXYZ.sum.trans files |
---|
235 | - use |
---|
236 | scaextractor.sh |
---|
237 | |
---|
238 | o getsignals.sh |
---|
239 | --------------- |
---|
240 | - perform |
---|
241 | . download from Irods the signalXYZ.fits files |
---|
242 | |
---|
243 | |
---|
244 | |
---|
245 | |
---|