[563] | 1 | |
---|
| 2 | set source $1 |
---|
| 3 | set ncycles $2 |
---|
| 4 | |
---|
| 5 | openppf onoffsurvey_${source}-${ncycles}Cycles.ppf |
---|
| 6 | print onoffevol |
---|
| 7 | |
---|
| 8 | set defatt "font=helvetica,bold,20 fixedfonsize" |
---|
| 9 | set axedefatt "font=helvetica,bold,30 fixedfonsize grid" |
---|
| 10 | graphicatt "$defatt" |
---|
| 11 | setaxesatt "$axedefatt" |
---|
| 12 | |
---|
| 13 | newwin 1 2 |
---|
| 14 | n/pl onoffevol.onoffRaw0%cycle ! ! "blue cpts notit nsta" |
---|
| 15 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt |
---|
| 16 | n/pl onoffevol.onoffRaw1%cycle ! ! "red cpts notit nsta" |
---|
| 17 | setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt |
---|
| 18 | |
---|
| 19 | newwin 1 2 |
---|
| 20 | n/proj hRaw0 onoffevol.onoffRaw0 ! ! ! "blue cpts notit" |
---|
| 21 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt |
---|
| 22 | n/proj hRaw1 onoffevol.onoffRaw1 ! ! ! "red cpts notit" |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | newwin 1 2 |
---|
| 28 | n/pl onoffevol.onoffRun0%cycle ! ! "blue cpts notit nsta" |
---|
| 29 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt |
---|
| 30 | n/pl onoffevol.onoffRun1%cycle ! ! "red cpts notit nsta" |
---|
| 31 | setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt |
---|
| 32 | |
---|
| 33 | newwin 1 2 |
---|
| 34 | n/proj hRun0 onoffevol.onoffRun0 ! ! ! "blue cpts notit" |
---|
| 35 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt |
---|
| 36 | n/proj hRun1 onoffevol.onoffRun1 ! ! ! "red cpts notit" |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | newwin 1 2 |
---|
| 40 | n/pl onoffevol.onoffCycle0%cycle ! ! "blue cpts notit nsta" |
---|
| 41 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt |
---|
| 42 | n/pl onoffevol.onoffCycle1%cycle ! ! "red cpts notit nsta" |
---|
| 43 | setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt |
---|
| 44 | |
---|
| 45 | newwin 1 2 |
---|
| 46 | n/proj hCycle0 onoffevol.onoffCycle0 ! ! ! "blue cpts notit" |
---|
| 47 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt |
---|
| 48 | n/proj hCycle1 onoffevol.onoffCycle1 ! ! ! "red cpts notit" |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | graphicatt "xylimits=1250,1500,-0.01,0.01" |
---|
| 53 | del snocal0 snocal1 |
---|
| 54 | objaoper meanNoCalib row 0 snocal0 |
---|
| 55 | objaoper meanNoCalib row 1 snocal1 |
---|
| 56 | newwin 1 1 |
---|
| 57 | plot2d snocal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" |
---|
| 58 | plot2d snocal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" |
---|
| 59 | settitle "Raw ON-OFF ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt |
---|
| 60 | setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | del sruncal0 sruncal1 |
---|
| 65 | objaoper meanPerRunCalib row 0 sruncal0 |
---|
| 66 | objaoper meanPerRunCalib row 1 sruncal1 |
---|
| 67 | newwin 1 1 |
---|
| 68 | plot2d sruncal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" |
---|
| 69 | plot2d sruncal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" |
---|
| 70 | settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt |
---|
| 71 | setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt |
---|
| 72 | |
---|
| 73 | newwin 1 1 |
---|
| 74 | del scyclecal0 scyclecal1 |
---|
| 75 | objaoper meanPerCycleCalib row 0 scyclecal0 |
---|
| 76 | objaoper meanPerCycleCalib row 1 scyclecal1 |
---|
| 77 | plot2d scyclecal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" |
---|
| 78 | plot2d scyclecal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" |
---|
| 79 | settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt |
---|
| 80 | setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt |
---|