Ignore:
Timestamp:
Oct 19, 2011, 2:46:27 PM (13 years ago)
Author:
campagne
Message:

improve analysis (jec)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BAORadio/AmasNancay/trunk/etude_mergeAna.pic

    r563 r577  
     1defscript evolAtCalibFreq
    12
    2 set source  $1
    3 set ncycles $2
    43
    5 openppf onoffsurvey_${source}-${ncycles}Cycles.ppf
    6 print onoffevol
     4#Follow up of the intensity arround the Calib frequency in different calibration conditions
     5# NO calibration
     6# Calibration coeff. mean per Run
     7# Calibration coeff. per cycles
    78
    8 set defatt "font=helvetica,bold,20 fixedfonsize"
    9 set axedefatt  "font=helvetica,bold,30 fixedfonsize grid"
    10 graphicatt "$defatt"
    11 setaxesatt "$axedefatt"
     9set fcalib $1
     10
    1211
    1312newwin 1 2
     
    1514settitle "Raw ON-OFF  ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
    1615n/pl onoffevol.onoffRaw1%cycle ! ! "red cpts notit nsta"
    17 setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt
     16setaxelabels "cycle" "I[${fcalib}MHz/6.25MHz] Raw (a.u)" $axedefatt
    1817
    1918newwin 1 2
     
    2120settitle "Raw ON-OFF  ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
    2221n/proj hRaw1 onoffevol.onoffRaw1 ! ! ! "red cpts notit"
    23 
     22settitle "I[${fcalib}MHz/6.25MHz] Raw (a.u)"
    2423
    2524
     
    2928settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
    3029n/pl onoffevol.onoffRun1%cycle ! ! "red cpts notit nsta"
    31 setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt
     30setaxelabels "cycle" "I[${fcalib}MHz/6.25MHz] Run (a.u)" $axedefatt
     31
    3232
    3333newwin 1 2
     
    3535settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
    3636n/proj hRun1 onoffevol.onoffRun1 ! ! ! "red cpts notit"
     37settitle "I[${fcalib}MHz/6.25MHz] Run (a.u)"
    3738
    3839
     
    4142settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
    4243n/pl onoffevol.onoffCycle1%cycle ! ! "red cpts notit nsta"
    43 setaxelabels "cycle" "I[1346MHz/6.25MHz] (a.u)" $axedefatt
     44setaxelabels "cycle" "I[${fcalib}MHz/6.25MHz] Cycle (a.u)" $axedefatt
    4445
    4546newwin 1 2
     
    4748settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
    4849n/proj hCycle1 onoffevol.onoffCycle1 ! ! ! "red cpts notit"
     50settitle "I[${fcalib}MHz/6.25MHz] Cycle (a.u)"
     51
     52
     53endscript
     54###########################################
     55defscript evolAt1420Freq
     56
     57
     58#Follow up of the intensity arround the (1420.4 +/- 2) MHz frequency in different calibration conditions
     59# NO calibration
     60# Calibration coeff. mean per Run
     61# Calibration coeff. per cycles
     62
     63
     64graphicatt "xylimits=0,500,-0.01,0.01"
     65
     66newwin 1 2
     67n/pl onoffevol.onoffRaw01420%cycle ! ! "blue cpts notit nsta"
     68settitle "Raw ON-OFF  ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
     69n/pl onoffevol.onoffRaw11420%cycle ! ! "red cpts notit nsta"
     70setaxelabels "cycle" "I[1420.4MHz +/- 2MHz] Raw (a.u)" $axedefatt
     71
     72
     73newwin 1 2
     74n/pl onoffevol.onoffRun01420%cycle ! ! "blue cpts notit nsta"
     75settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
     76n/pl onoffevol.onoffRun11420%cycle ! ! "red cpts notit nsta"
     77setaxelabels "cycle" "I[1420.4MHz +/- 2MHz] Run (a.u)" $axedefatt
     78
     79
     80newwin 1 2
     81n/pl onoffevol.onoffCycle01420%cycle ! ! "blue cpts notit nsta"
     82settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
     83n/pl onoffevol.onoffCycle11420%cycle ! ! "red cpts notit nsta"
     84setaxelabels "cycle" "I[1420.4MHz +/- 2MHz] Cycle (a.u)" $axedefatt
     85
     86
     87newh1d hSigmaRaw0 -0.02 0.02 50
     88newh1d hSigmaRaw1 -0.02 0.02 50
     89newh1d hSigmaRun0 -0.02 0.02 50
     90newh1d hSigmaRun1 -0.02 0.02 50
     91newh1d hSigmaCycl0 -0.02 0.02 50
     92newh1d hSigmaCycl1 -0.02 0.02 50
     93
     94graphicatt ""
     95
     96newwin 1 1
     97n/proj hSigmaRaw0 onoffevol.onoffRaw01420 ! ! ! "blue cpts notit"
     98n/proj hSigmaRaw1 onoffevol.onoffRaw11420 ! ! ! "same red cpts notit"
     99settitle "Raw ON-OFF  ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles " ' ' $defatt
     100setaxelabels "(a.u)" "I[1420.4MHz +/- 2MHz] Raw" $axedefatt
     101
     102newwin 1 1
     103n/proj hSigmaRun0 onoffevol.onoffRun01420 ! ! ! "blue cpts notit"
     104n/proj hSigmaRun1 onoffevol.onoffRun11420 ! ! ! "same red cpts notit"
     105settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
     106setaxelabels "(a.u)" "I[1420.4MHz +/- 2MHz] Run" $axedefatt
     107
     108
     109newwin 1 1
     110n/proj hSigmaCycl0 onoffevol.onoffCycle01420 ! ! ! "blue cpts notit"
     111n/proj hSigmaCycl1 onoffevol.onoffCycle11420 ! ! ! "same red cpts notit"
     112settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
     113setaxelabels "(a.u)" "I[1420.4MHz +/- 2MHz] Cycle" $axedefatt
     114
     115
     116endscript
     117##################################################
     118defscript diffOnOff
     119
     120#
     121#Display the ON-OFF over the whole freq. range in diffrent Calib. conditions
     122# NO calibration
     123# Calibration coeff. mean per Run
     124# Calibration coeff. per cycles
     125#
    49126
    50127
     
    59136settitle "Raw ON-OFF  ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
    60137setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt
    61 
    62 
    63138
    64139del sruncal0 sruncal1
     
    79154settitle "ON-OFF Calib Cycle  ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt
    80155setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt
     156
     157
     158endscript
     159
     160
     161
     162
     163#Main
     164#use minuscule for source label
     165
     166set source  $1
     167set ncycles $2
     168set fcalib $3
     169
     170openppf onoffsurvey_${source}-${ncycles}Cycles.ppf
     171print onoffevol
     172
     173set defatt "font=helvetica,bold,20 fixedfonsize"
     174set axedefatt  "font=helvetica,bold,30 fixedfonsize grid"
     175
     176set defatt ""
     177set axedefatt  "grid"
     178
     179graphicatt ""
     180setaxesatt ""
     181
     182
     183
     184#diffOnOff
     185
     186
     187evolAt1420Freq
Note: See TracChangeset for help on using the changeset viewer.