Changeset 611 for BAORadio/AmasNancay/trunk/etude_mergeAna.pic
- Timestamp:
- Nov 28, 2011, 10:04:36 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/etude_mergeAna.pic
r607 r611 1 2 set path "/sps/baoradio/AmasNancay/AST" 1 3 2 4 set source $1 … … 9 11 10 12 set fcalib 1410 11 set f1420low 1420.2 12 set f1420high 1420.6 13 14 13 14 # Abell 85, 500 cycles 15 if ( ${source} == "abell85" ) then 16 set f1420low 1420.2 17 set f1420high 1420.6 18 set packVal "1 10 25 50 100" 19 endif 20 21 # Abell 1205, 600 cycles 22 if ( ${source} == "abell1205" ) then 23 set f1420low 1420.1 24 set f1420high 1420.6 25 set packVal "1 10 25 50 100 120" 26 endif 27 28 # Abell 2440, 210 cycles 29 if ( ${source} == "abell2440" ) then 30 set f1420low 1420.4 31 set f1420high 1420.7 32 set packVal "1 10 25 42" 33 endif 34 35 echo "f1420low=${f1420low}, f1420high=${f1420high}" 36 echo "Packing values="${packVal} 15 37 16 38 nbins1420 = floor((${f1420high}-${f1420low})/250*8192) 17 18 39 echo $nbins1420 19 20 40 21 41 clearscript diffOnOff … … 26 46 clearscript sigmaRaw1400a1420 27 47 clearscript evolAt1410a1415OffOn 48 28 49 ############################################################################ 29 50 defscript evolAtCalibFreq … … 90 111 91 112 92 graphicatt "xylimits=0, 500,-0.01,0.01"113 graphicatt "xylimits=0,${ncycles},-0.02,0.02" 93 114 94 115 newwin 1 2 … … 159 180 line2vec vecCh1All $linCh1All 160 181 161 #packing values only valid for 500 cycles...162 set packVal "1 10 25 50 100"163 182 set sigmaCh0 "" 164 183 set errsigCh0 "" 165 184 set sigmaCh1 "" 166 185 set errsigCh1 "" 167 168 186 169 187 foreach ipack ( $packVal ) … … 236 254 line2vec vecCh1All $linCh1All 237 255 238 #packing values only valid for 500 cycles...239 set packVal "1 10 25 50 100"240 256 set sigmaCh0 "" 241 257 set errsigCh0 "" … … 329 345 330 346 331 graphicatt "xylimits=0, 500,-0.01,0.01"347 graphicatt "xylimits=0,${ncycles},-0.01,0.01" 332 348 333 349 newwin 1 2 … … 394 410 395 411 396 graphicatt "xylimits=0, 500,-0.1,0.1"412 graphicatt "xylimits=0,${ncycles},-0.1,0.1" 397 413 398 414 newwin 1 2 … … 487 503 setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt 488 504 489 490 491 505 graphicatt "xylimits=1250,1500,-0.01,0.01" 492 506 del snocal0 snocal1 … … 499 513 setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt 500 514 501 del sruncal0 sruncal1502 objaoper meanPerRunCalib row 0 sruncal0503 objaoper meanPerRunCalib row 1 sruncal1504 newwin 1 1505 plot2d sruncal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta"506 plot2d sruncal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta"507 settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt508 setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt509 510 newwin 1 1511 del scyclecal0 scyclecal1512 objaoper meanPerCycleCalib row 0 scyclecal0513 objaoper meanPerCycleCalib row 1 scyclecal1514 plot2d scyclecal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta"515 plot2d scyclecal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta"516 settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt517 setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt515 #del sruncal0 sruncal1 516 #objaoper meanPerRunCalib row 0 sruncal0 517 #objaoper meanPerRunCalib row 1 sruncal1 518 #newwin 1 1 519 #plot2d sruncal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" 520 #plot2d sruncal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" 521 #settitle "ON-OFF Calib Run ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt 522 #setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt 523 524 #newwin 1 1 525 #del scyclecal0 scyclecal1 526 #objaoper meanPerCycleCalib row 0 scyclecal0 527 #objaoper meanPerCycleCalib row 1 scyclecal1 528 #plot2d scyclecal0 (n/8192)*250+1250 val n>0 "blue cpts notit nsta" 529 #plot2d scyclecal1 (n/8192)*250+1250 val n>0 "red same cpts notit nsta" 530 #settitle "ON-OFF Calib Cycle ${source} Ch 0 (blue) Ch 1 (red) ${ncycles}cycles" ' ' $defatt 531 #setaxelabels "Freq. (MHz)" "I (a.u)" $axedefatt 518 532 519 533 … … 526 540 #use minuscule for source label 527 541 528 529 530 531 openppf onoffsurvey_${source}-${ncycles}Cycles.ppf 542 openppf ${path}/onoffsurvey_${source}-${ncycles}Cycles.ppf 532 543 print onoffevol 544 545 #openppf ${path}/rawOnOffDiff_${source}-${ncycles}Cycles.ppf 546 #ls 533 547 534 548 set defatt "font=helvetica,bold,20 fixedfonsize" … … 546 560 #evolAt1420SideFreq 547 561 #IntAt1420 562 #sigmaRaw1420Side 563 #sigmaRaw1400a1420 564 #evolAt1400a1420OffOn
Note: See TracChangeset
for help on using the changeset viewer.