1 |
|
---|
2 |
|
---|
3 | set source $1
|
---|
4 | set ncycles $2
|
---|
5 |
|
---|
6 |
|
---|
7 | #set fcalib $3
|
---|
8 | #set f1420low $4
|
---|
9 | #set f1420high $5
|
---|
10 |
|
---|
11 | set fcalib 1410
|
---|
12 | set f1420low 1420.2
|
---|
13 | set f1420high 1420.6
|
---|
14 |
|
---|
15 |
|
---|
16 |
|
---|
17 | nbins1420 = floor((${f1420high}-${f1420low})/250*8192)
|
---|
18 |
|
---|
19 | echo $nbins1420
|
---|
20 |
|
---|
21 |
|
---|
22 |
|
---|
23 | clearscript diffOnOff
|
---|
24 | clearscript evolAt1420Freq
|
---|
25 | clearscript evolAt1420SideFreq
|
---|
26 | clearscript IntAt1420
|
---|
27 | clearscript sigmaRaw1420Side
|
---|
28 | ############################################################################
|
---|
29 |
|
---|
30 | defscript evolAtCalibFreq
|
---|
31 |
|
---|
32 |
|
---|
33 | #Follow up of the intensity arround the Calib frequency in different calibration conditions
|
---|
34 | # NO calibration
|
---|
35 | # Calibration coeff. mean per Run
|
---|
36 | # Calibration coeff. per cycles
|
---|
37 |
|
---|
38 | set fcalib $1
|
---|
39 |
|
---|
40 |
|
---|
41 | newwin 1 2
|
---|
42 | n/pl onoffevol.onoffRaw0%cycle ! ! "blue cpts notit nsta"
|
---|
43 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
44 | n/pl onoffevol.onoffRaw1%cycle ! ! "red cpts notit nsta"
|
---|
45 | setaxelabels "cycle" "I[${fcalib}MHz/6.25MHz] Raw (a.u)" $axedefatt
|
---|
46 |
|
---|
47 | newwin 1 2
|
---|
48 | n/proj hRaw0 onoffevol.onoffRaw0 ! ! ! "blue cpts notit"
|
---|
49 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
50 | n/proj hRaw1 onoffevol.onoffRaw1 ! ! ! "red cpts notit"
|
---|
51 | settitle "I[${fcalib}MHz/6.25MHz] Raw (a.u)"
|
---|
52 |
|
---|
53 |
|
---|
54 |
|
---|
55 | newwin 1 2
|
---|
56 | n/pl onoffevol.onoffRun0%cycle ! ! "blue cpts notit nsta"
|
---|
57 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
58 | n/pl onoffevol.onoffRun1%cycle ! ! "red cpts notit nsta"
|
---|
59 | setaxelabels "cycle" "I[${fcalib}MHz/6.25MHz] Run (a.u)" $axedefatt
|
---|
60 |
|
---|
61 |
|
---|
62 | newwin 1 2
|
---|
63 | n/proj hRun0 onoffevol.onoffRun0 ! ! ! "blue cpts notit"
|
---|
64 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
65 | n/proj hRun1 onoffevol.onoffRun1 ! ! ! "red cpts notit"
|
---|
66 | settitle "I[${fcalib}MHz/6.25MHz] Run (a.u)"
|
---|
67 |
|
---|
68 |
|
---|
69 | newwin 1 2
|
---|
70 | n/pl onoffevol.onoffCycle0%cycle ! ! "blue cpts notit nsta"
|
---|
71 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
72 | n/pl onoffevol.onoffCycle1%cycle ! ! "red cpts notit nsta"
|
---|
73 | setaxelabels "cycle" "I[${fcalib}MHz/6.25MHz] Cycle (a.u)" $axedefatt
|
---|
74 |
|
---|
75 | newwin 1 2
|
---|
76 | n/proj hCycle0 onoffevol.onoffCycle0 ! ! ! "blue cpts notit"
|
---|
77 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
78 | n/proj hCycle1 onoffevol.onoffCycle1 ! ! ! "red cpts notit"
|
---|
79 | settitle "I[${fcalib}MHz/6.25MHz] Cycle (a.u)"
|
---|
80 |
|
---|
81 |
|
---|
82 | endscript
|
---|
83 | ###########################################
|
---|
84 | defscript evolAt1420Freq
|
---|
85 |
|
---|
86 |
|
---|
87 | #Follow up of the intensity arround the [1420,1421]MHz frequency in different calibration conditions
|
---|
88 | # NO calibration
|
---|
89 | # Calibration coeff. mean per Run
|
---|
90 | # Calibration coeff. per cycles
|
---|
91 |
|
---|
92 |
|
---|
93 | graphicatt "xylimits=0,500,-0.01,0.01"
|
---|
94 |
|
---|
95 | newwin 1 2
|
---|
96 | n/pl onoffevol.onoffRaw01420%cycle ! ! "blue cpts notit nsta"
|
---|
97 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
98 | n/pl onoffevol.onoffRaw11420%cycle ! ! "red cpts notit nsta"
|
---|
99 | setaxelabels "cycle" "I[${f1420low},${f1420high}]MHz Raw (a.u)" $axedefatt
|
---|
100 |
|
---|
101 |
|
---|
102 | newwin 1 2
|
---|
103 | n/pl onoffevol.onoffRun01420%cycle ! ! "blue cpts notit nsta"
|
---|
104 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
105 | n/pl onoffevol.onoffRun11420%cycle ! ! "red cpts notit nsta"
|
---|
106 | setaxelabels "cycle" "I[${f1420low},${f1420high}]MHz Run (a.u)" $axedefatt
|
---|
107 |
|
---|
108 |
|
---|
109 | newwin 1 2
|
---|
110 | n/pl onoffevol.onoffCycle01420%cycle ! ! "blue cpts notit nsta"
|
---|
111 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
112 | n/pl onoffevol.onoffCycle11420%cycle ! ! "red cpts notit nsta"
|
---|
113 | setaxelabels "cycle" "I[${f1420low},${f1420high}]MHz Cycle (a.u)" $axedefatt
|
---|
114 |
|
---|
115 |
|
---|
116 | newh1d hSigmaRaw0 -0.01 0.01 25
|
---|
117 | newh1d hSigmaRaw1 -0.01 0.01 25
|
---|
118 | newh1d hSigmaRun0 -0.01 0.01 25
|
---|
119 | newh1d hSigmaRun1 -0.01 0.01 25
|
---|
120 | newh1d hSigmaCycl0 -0.01 0.01 25
|
---|
121 | newh1d hSigmaCycl1 -0.01 0.01 25
|
---|
122 |
|
---|
123 | graphicatt ""
|
---|
124 |
|
---|
125 | newwin 1 1
|
---|
126 | n/proj hSigmaRaw0 onoffevol.onoffRaw01420 ! ! ! "blue cpts notit"
|
---|
127 | n/proj hSigmaRaw1 onoffevol.onoffRaw11420 ! ! ! "same red cpts notit"
|
---|
128 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
129 | setaxelabels "(a.u)" "I[${f1420low},${f1420high}]MHz Raw" $axedefatt
|
---|
130 |
|
---|
131 | newwin 1 1
|
---|
132 | n/proj hSigmaRun0 onoffevol.onoffRun01420 ! ! ! "blue cpts notit"
|
---|
133 | n/proj hSigmaRun1 onoffevol.onoffRun11420 ! ! ! "same red cpts notit"
|
---|
134 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
135 | setaxelabels "(a.u)" "I[${f1420low},${f1420high}]MHz Run" $axedefatt
|
---|
136 |
|
---|
137 |
|
---|
138 | newwin 1 1
|
---|
139 | n/proj hSigmaCycl0 onoffevol.onoffCycle01420 ! ! ! "blue cpts notit"
|
---|
140 | n/proj hSigmaCycl1 onoffevol.onoffCycle11420 ! ! ! "same red cpts notit"
|
---|
141 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
142 | setaxelabels "(a.u)" "I[${f1420low},${f1420high}]MHz Cycle" $axedefatt
|
---|
143 |
|
---|
144 |
|
---|
145 | endscript
|
---|
146 | ##################################################
|
---|
147 | defscript sigmaRaw1420Side
|
---|
148 |
|
---|
149 |
|
---|
150 | newh1d hSigRaw0All -0.01 0.01 25
|
---|
151 | newh1d hSigRaw1All -0.01 0.01 25
|
---|
152 |
|
---|
153 | n/proj hSigRaw0All onoffevol.onoffRaw01420side
|
---|
154 | n/proj hSigRaw1All onoffevol.onoffRaw11420side
|
---|
155 |
|
---|
156 | echo "Resultats sur ${ncycles} cycles (Ch0, Ch1): mean (${hSigRaw0All.mean}, ${hSigRaw1All.mean}) sigma (${hSigRaw0All.sigma}, ${hSigRaw1All.sigma})"
|
---|
157 |
|
---|
158 | newwin 1 1
|
---|
159 | disp hSigRaw0All "blue cpts notit"
|
---|
160 | disp hSigRaw1All "red same cpts notit"
|
---|
161 | settitle "Mean and Sigma for 1 cycle"
|
---|
162 |
|
---|
163 | #Ts les 10cycles
|
---|
164 | n10cycles = floor(${ncycles}/10)
|
---|
165 | x10min = ${hSigRaw0All.xmin}
|
---|
166 | x10max = ${hSigRaw0All.xmax}
|
---|
167 | n10bin = ${hSigRaw0All.nbin}
|
---|
168 |
|
---|
169 |
|
---|
170 | for i 0:${n10cycles}
|
---|
171 | ic = ${i}*10+1
|
---|
172 | jc = ${ic}+9
|
---|
173 | newh1d hSigRaw010c${i} ${x10min} ${x10max} ${n10bin}
|
---|
174 | newh1d hSigRaw110c${i} ${x10min} ${x10max} ${n10bin}
|
---|
175 |
|
---|
176 | n/proj hSigRaw010c${i} onoffevol.onoffRaw01420side (cycle>=${ic})&&(cycle<=${jc})
|
---|
177 | cp hSigRaw010c${i} h0
|
---|
178 | mSig010c[i] = ${h0.mean}
|
---|
179 |
|
---|
180 | n/proj hSigRaw110c${i} onoffevol.onoffRaw11420side (cycle>=${ic})&&(cycle<=${jc})
|
---|
181 | cp hSigRaw110c${i} h1
|
---|
182 | mSig110c[i] = ${h1.mean}
|
---|
183 | end
|
---|
184 |
|
---|
185 |
|
---|
186 | line2vec hSigRaw010c $mSig010c
|
---|
187 | line2vec hSigRaw110c $mSig110c
|
---|
188 |
|
---|
189 |
|
---|
190 |
|
---|
191 |
|
---|
192 | newwin 1 1
|
---|
193 | disp hSigRaw010c "blue cpts notit"
|
---|
194 | disp hSigRaw110c "red same cpts notit"
|
---|
195 | settitle "Mean and Sigma for 10 cycles"
|
---|
196 |
|
---|
197 |
|
---|
198 | endscript
|
---|
199 | ###########################################
|
---|
200 | defscript evolAt1420SideFreq
|
---|
201 |
|
---|
202 |
|
---|
203 | #Follow up of the intensity arround the [${f1420low},${f1420high}]MHz frequency in different calibration conditions
|
---|
204 | # NO calibration
|
---|
205 | # Calibration coeff. mean per Run
|
---|
206 | # Calibration coeff. per cycles
|
---|
207 |
|
---|
208 |
|
---|
209 | graphicatt "xylimits=0,500,-0.01,0.01"
|
---|
210 |
|
---|
211 | newwin 1 2
|
---|
212 | n/pl onoffevol.onoffRaw01420side%cycle ! ! "blue cpts notit nsta"
|
---|
213 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
214 | n/pl onoffevol.onoffRaw11420side%cycle ! ! "red cpts notit nsta"
|
---|
215 | setaxelabels "cycle" "I[1418,1419]U[1422,1423]MHz Raw (a.u)" $axedefatt
|
---|
216 |
|
---|
217 |
|
---|
218 | newwin 1 2
|
---|
219 | n/pl onoffevol.onoffRun01420side%cycle ! ! "blue cpts notit nsta"
|
---|
220 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
221 | n/pl onoffevol.onoffRun11420side%cycle ! ! "red cpts notit nsta"
|
---|
222 | setaxelabels "cycle" "I[1418,1419]U[1422,1423]MHz Run (a.u)" $axedefatt
|
---|
223 |
|
---|
224 |
|
---|
225 | newwin 1 2
|
---|
226 | n/pl onoffevol.onoffCycle01420side%cycle ! ! "blue cpts notit nsta"
|
---|
227 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
228 | n/pl onoffevol.onoffCycle11420side%cycle ! ! "red cpts notit nsta"
|
---|
229 | setaxelabels "cycle" "I[1418,1419]U[1422,1423]MHz Cycle (a.u)" $axedefatt
|
---|
230 |
|
---|
231 |
|
---|
232 | newh1d hSigmaSideRaw0 -0.01 0.01 25
|
---|
233 | newh1d hSigmaSideRaw1 -0.01 0.01 25
|
---|
234 | newh1d hSigmaSideRun0 -0.01 0.01 25
|
---|
235 | newh1d hSigmaSideRun1 -0.01 0.01 25
|
---|
236 | newh1d hSigmaSideCycl0 -0.01 0.01 25
|
---|
237 | newh1d hSigmaSideCycl1 -0.01 0.01 25
|
---|
238 |
|
---|
239 | graphicatt ""
|
---|
240 |
|
---|
241 | newwin 1 1
|
---|
242 | n/proj hSigmaSideRaw0 onoffevol.onoffRaw01420side ! ! ! "blue cpts notit"
|
---|
243 | n/proj hSigmaSideRaw1 onoffevol.onoffRaw11420side ! ! ! "same red cpts notit"
|
---|
244 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
245 | setaxelabels "(a.u)" "I[1418,1419]U[1422,1423]MHz Raw" $axedefatt
|
---|
246 |
|
---|
247 | newwin 1 1
|
---|
248 | n/proj hSigmaSideRun0 onoffevol.onoffRun01420side ! ! ! "blue cpts notit"
|
---|
249 | n/proj hSigmaSideRun1 onoffevol.onoffRun11420side ! ! ! "same red cpts notit"
|
---|
250 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
251 | setaxelabels "(a.u)" "I[1418,1419]U[1422,1423]MHz Run" $axedefatt
|
---|
252 |
|
---|
253 |
|
---|
254 | newwin 1 1
|
---|
255 | n/proj hSigmaSideCycl0 onoffevol.onoffCycle01420side ! ! ! "blue cpts notit"
|
---|
256 | n/proj hSigmaSideCycl1 onoffevol.onoffCycle11420side ! ! ! "same red cpts notit"
|
---|
257 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
258 | setaxelabels "(a.u)" "I[1418,1419]U[1422,1423]MHz Cycle" $axedefatt
|
---|
259 |
|
---|
260 |
|
---|
261 | endscript
|
---|
262 |
|
---|
263 | ###########################################
|
---|
264 | defscript IntAt1420
|
---|
265 |
|
---|
266 |
|
---|
267 | #Follow up of the intensity arround the [${f1420low},${f1420high}]MHz
|
---|
268 | #frequency in different calibration conditions with baseline removed
|
---|
269 | # NO calibration
|
---|
270 | # Calibration coeff. mean per Run
|
---|
271 | # Calibration coeff. per cycles
|
---|
272 |
|
---|
273 |
|
---|
274 | graphicatt "xylimits=0,500,-0.1,0.1"
|
---|
275 |
|
---|
276 | newwin 1 2
|
---|
277 | n/pl onoffevol.${nbins1420}*(onoffRaw01420-onoffRaw01420side)%cycle ! ! "blue cpts notit nsta"
|
---|
278 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
279 | n/pl onoffevol.${nbins1420}*(onoffRaw11420-onoffRaw11420side)%cycle ! ! "red cpts notit nsta"
|
---|
280 | setaxelabels "cycle" "I 1420MHz Raw (a.u)" $axedefatt
|
---|
281 |
|
---|
282 |
|
---|
283 | newwin 1 2
|
---|
284 | n/pl onoffevol.${nbins1420}*(onoffRun01420-onoffRun01420side)%cycle ! ! "blue cpts notit nsta"
|
---|
285 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
286 | n/pl onoffevol.${nbins1420}*(onoffRun11420-onoffRun11420side)%cycle ! ! "red cpts notit nsta"
|
---|
287 | setaxelabels "cycle" "I 1420MHz Run (a.u)" $axedefatt
|
---|
288 |
|
---|
289 |
|
---|
290 | newwin 1 2
|
---|
291 | n/pl onoffevol.${nbins1420}*(onoffCycle01420-onoffCycle01420side)%cycle ! ! "blue cpts notit nsta"
|
---|
292 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
293 | n/pl onoffevol.${nbins1420}*(onoffCycle11420-onoffCycle11420side)%cycle ! ! "red cpts notit nsta"
|
---|
294 | setaxelabels "cycle" "I 1420MHz Cycle (a.u)" $axedefatt
|
---|
295 |
|
---|
296 |
|
---|
297 | newh1d h1420IntRaw0 -0.1 0.1 25
|
---|
298 | newh1d h1420IntRaw1 -0.1 0.1 25
|
---|
299 | newh1d h1420IntRun0 -0.1 0.1 25
|
---|
300 | newh1d h1420IntRun1 -0.1 0.1 25
|
---|
301 | newh1d h1420IntCycl0 -0.1 0.1 25
|
---|
302 | newh1d h1420IntCycl1 -0.1 0.1 25
|
---|
303 |
|
---|
304 | graphicatt ""
|
---|
305 |
|
---|
306 | newwin 1 1
|
---|
307 | n/proj h1420IntRaw0 onoffevol.${nbins1420}*(onoffRaw01420-onoffRaw01420side) ! ! ! "blue cpts notit"
|
---|
308 | n/proj h1420IntRaw1 onoffevol.${nbins1420}*(onoffRaw11420-onoffRaw11420side) ! ! ! "same red cpts notit"
|
---|
309 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
|
---|
310 | setaxelabels "(a.u)" "I 1420MHz Raw" $axedefatt
|
---|
311 |
|
---|
312 | newwin 1 1
|
---|
313 | n/proj h1420IntRun0 onoffevol.${nbins1420}*(onoffRun01420-onoffRun01420side) ! ! ! "blue cpts notit"
|
---|
314 | n/proj h1420IntRun1 onoffevol.${nbins1420}*(onoffRun11420-onoffRun11420side) ! ! ! "same red cpts notit"
|
---|
315 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
316 | setaxelabels "(a.u)" "I 1420MHz Run" $axedefatt
|
---|
317 |
|
---|
318 |
|
---|
319 |
|
---|
320 | newwin 1 1
|
---|
321 | n/proj h1420IntCycl0 onoffevol.${nbins1420}*(onoffCycle01420-onoffCycle01420side) ! ! ! "blue cpts notit"
|
---|
322 | n/proj h1420IntCycl1 onoffevol.${nbins1420}*(onoffCycle11420-onoffCycle11420side) ! ! ! "same red cpts notit"
|
---|
323 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
324 | setaxelabels "(a.u)" "I 1420MHz Cycle" $axedefatt
|
---|
325 |
|
---|
326 |
|
---|
327 |
|
---|
328 | endscript
|
---|
329 | ##################################################
|
---|
330 | defscript diffOnOff
|
---|
331 |
|
---|
332 | #
|
---|
333 | #Display the ON-OFF over the whole freq. range in diffrent Calib. conditions
|
---|
334 | # NO calibration
|
---|
335 | # Calibration coeff. mean per Run
|
---|
336 | # Calibration coeff. per cycles
|
---|
337 | #
|
---|
338 |
|
---|
339 |
|
---|
340 |
|
---|
341 | graphicatt "xylimits=1250,1500,-0.01,0.01"
|
---|
342 | del snocal0 snocal1
|
---|
343 | objaoper meanNoCalib row 0 snocal0
|
---|
344 | objaoper meanNoCalib row 1 snocal1
|
---|
345 | newwin 1 1
|
---|
346 | plot2d snocal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta"
|
---|
347 | plot2d snocal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta"
|
---|
348 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
349 | setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt
|
---|
350 |
|
---|
351 | del sruncal0 sruncal1
|
---|
352 | objaoper meanPerRunCalib row 0 sruncal0
|
---|
353 | objaoper meanPerRunCalib row 1 sruncal1
|
---|
354 | newwin 1 1
|
---|
355 | plot2d sruncal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta"
|
---|
356 | plot2d sruncal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta"
|
---|
357 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
358 | setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt
|
---|
359 |
|
---|
360 | newwin 1 1
|
---|
361 | del scyclecal0 scyclecal1
|
---|
362 | objaoper meanPerCycleCalib row 0 scyclecal0
|
---|
363 | objaoper meanPerCycleCalib row 1 scyclecal1
|
---|
364 | plot2d scyclecal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta"
|
---|
365 | plot2d scyclecal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta"
|
---|
366 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
|
---|
367 | setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt
|
---|
368 |
|
---|
369 |
|
---|
370 | endscript
|
---|
371 |
|
---|
372 |
|
---|
373 |
|
---|
374 |
|
---|
375 | #Main
|
---|
376 | #use minuscule for source label
|
---|
377 |
|
---|
378 |
|
---|
379 |
|
---|
380 |
|
---|
381 | openppf onoffsurvey_${source}-${ncycles}Cycles.ppf
|
---|
382 | print onoffevol
|
---|
383 |
|
---|
384 | set defatt "font=helvetica,bold,20 fixedfonsize"
|
---|
385 | set axedefatt "font=helvetica,bold,30 fixedfonsize grid"
|
---|
386 |
|
---|
387 | set defatt ""
|
---|
388 | set axedefatt "grid"
|
---|
389 |
|
---|
390 | graphicatt ""
|
---|
391 | setaxesatt ""
|
---|
392 |
|
---|
393 |
|
---|
394 | #diffOnOff
|
---|
395 | #evolAt1420Freq
|
---|
396 | #evolAt1420SideFreq
|
---|
397 | #IntAt1420
|
---|