Rev | Line | |
---|
[550] | 1 | #$1: source |
---|
| 2 | #$2: nber of cycles |
---|
| 3 | #$3: number of freq. combined for reducing mean/sigma |
---|
| 4 | |
---|
| 5 | set source $1 |
---|
| 6 | set ncycles $2 |
---|
| 7 | set nFreqBin $3 |
---|
| 8 | openppf meanDiffOnOffRaw_${source}-${ncycles}Cycles.ppf |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | ##General Mean |
---|
| 12 | del s0 s1 |
---|
| 13 | objaoper mean row 0 s0 |
---|
| 14 | objaoper mean row 1 s1 |
---|
| 15 | graphicatt "xylimits=1250,1500,-0.01,0.01" |
---|
| 16 | newwin 1 1 |
---|
| 17 | plot2d s0 (n/8192)*250+1250 val n>0 "cpts blue nsta notit" |
---|
| 18 | plot2d s1 (n/8192)*250+1250 val n>0 "same cpts red nsta notit" |
---|
| 19 | settitle "<(ON-OFF)[r,c]/Gain[r]>_{r,c} $source (${ncycles} cycles) Ch 0 (blue) Ch 1 (red)" |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | ##Reduced Mean |
---|
| 23 | newwin 1 1 |
---|
| 24 | del rs0 rs1 |
---|
| 25 | objaoper meanred row 0 rs0 |
---|
| 26 | objaoper meanred row 1 rs1 |
---|
| 27 | plot2d rs0 (n/${nFreqBin})*250+1250 val n>0 "marker=fcircle,5 blue nsta notit" |
---|
| 28 | plot2d rs1 (n/${nFreqBin})*250+1250 val n>0 "same marker=fcircle,5 red nsta notit" |
---|
| 29 | settitle "<(ON-OFF)[r,c]/Gain[r]>_{r,c} Rebin(${nFreqBin}) $source (${ncycles} cycles) Ch 0 (blue) Ch 1 (red)" |
---|
| 30 | |
---|
| 31 | ##Reduced Mean |
---|
| 32 | newwin 1 1 |
---|
| 33 | del rss0 rss1 |
---|
| 34 | objaoper sigmared row 0 rss0 |
---|
| 35 | objaoper sigmared row 1 rss1 |
---|
| 36 | plot2d rss0 (n/${nFreqBin})*250+1250 val n>0 "marker=fcircle,5 blue nsta notit" |
---|
| 37 | plot2d rss1 (n/${nFreqBin})*250+1250 val n>0 "same marker=fcircle,5 red nsta notit" |
---|
| 38 | settitle "Sigma[(ON-OFF)[r,c]/Gain[r]] Rebin(${nFreqBin}) $source (${ncycles} cycles) Ch 0 (blue) Ch 1 (red)" |
---|
| 39 | |
---|
| 40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.