source: BAORadio/AmasNancay/trunk/etude_gain_medfiltmtx.pic @ 611

Last change on this file since 611 was 611, checked in by torrento, 13 years ago

Add pic analysis files and emptydir function for proc_specmfib

File size: 928 bytes
Line 
1set user "AST"
2set toppath "/sps/baoradio/AmasNancay/${user}"
3set source "Abell1205"
4set srclower "abell1205"
5set date   "20110415"
6set gaincycle "8"
7set path "${toppath}/${source}/${date}${srclower}/gaincycle${gaincycle}"
8
9####################################################
10# Gains in every 5120-window
11####################################################
12#newwin 1 1
13graphicatt "xylimits=1250,1500,0,0.008"
14shell ls ${path}
15shell ls ${path} | wc -l
16
17i0 = 0
18i1 = 23
19echo ${i0} ${i1}
20for i ${i0}:${i1}
21  echo ${path}/medfiltmtx${i}.fits
22  newwin 1 1
23  openfits ${path}/medfiltmtx${i}.fits
24  del g0 g1
25  objaoper /home/medfiltmtx${i} row 0 g0
26  objaoper /home/medfiltmtx${i} row 1 g1
27  plot2d g1 (n/8192)*250+1250 val n>0 "red cpts nsta notit"
28  plot2d g0 (n/8192)*250+1250 val n>0 "same blue cpts nsta notit"
29  settitle "Gain $source ${date} medfiltmtx${i} Ch 0 (blue) Ch 1 (red)"
30  setaxelabels "Freq. (MHz)" "I (a.u)"
31end
32
Note: See TracBrowser for help on using the repository browser.