Changeset 3919 in Sophya for trunk/AddOn
- Timestamp:
- Dec 2, 2010, 7:48:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/dspms.pic
r3683 r3919 7 7 set numf $2 8 8 9 set bdir /Raid/Pitts Nov099 set bdir /Raid/PittsDec10 10 10 if ( $# > 2 ) then 11 11 set bdir $3 … … 13 13 14 14 delobjs * 15 # openppf /Raid/Pitts Nov09/$dir/meanspec$numf.ppf15 # openppf /Raid/PittsDec10/$dir/meanspec$numf.ppf 16 16 set flnm $bdir/$dir/meanspec$numf.ppf 17 17 echo '------ Opening file ' $flnm … … 19 19 del myspec 20 20 mv spectre myspec 21 # mv /home/meanspec$numf myspec22 21 set nchan ${myspec.nrows} 23 22 for i 0:$nchan … … 29 28 zone 1 30 29 31 set exfreq (n+2212)*250/4096+125030 # set exfreq (n+2212)*250/4096+1250 32 31 # set exfreq (n*250/4096+1250) 32 ## Expression de la frequence pour FFT shrinke 33 set exfreq ((n+2049)*250/4096+1250) 33 34 plot2d smV0 $exfreq 10*log10(val) val>1.e-6 'black nsta cpts notit' 34 35 setaxelabels ' Freq (MHz)' 'Spectra - dB' 'font=helvetica,bolditalic,16' 35 36 36 set cols ( black darkviolet blue navyblue red orange yellow green ) 37 # set cols ( black darkviolet blue navyblue red orange yellow green ) 38 set cols ( blue red green magenta black darkviolet navyblue orange yellow ) 37 39 38 40 for i 1:${myspec.nrows} … … 81 83 endscript 82 84 85 defscript dexpo 86 zone $znx $zny 87 for i 0:$nchan 88 disp hexpV$i "$cols[i]" 89 n/plot hexpV$i.val%x val>0 ! "nsta same marker=fcircle,9 $cols[i]" 90 end 91 endscript 92 93 defscript dsatur 94 zone $znx $zny 95 for i 0:$nchan 96 imag saturV$i "zoomx40" 97 end 98 endscript 99 100 defscript dsatur2 101 zone $znx $zny 102 for i 0:$nchan 103 n/plot saturV$i.val%r+c r!=1||c!=1 ! "marker=fcircle,1 nsta $cols[i]" 104 n/plot saturV$i.val%r+c (r!=1||c!=1)&&val>0.1 ! "marker=fcircle,9 nsta same $cols[i]" 105 end 106 endscript 83 107 84 108 set lines ( B1.V1 B1.V2 B1.V3 B1.V4 B2.V1 B2.V2 B2.V3 B2.V4 ) … … 95 119 newwin 96 120 dh2 121 newwin 122 dexpo 123 newwin 124 dsatur 125 newwin 126 dsatur2 97 127 98 echo '----> use dspec dhval and dh2 scripts to check value histograms'128 echo '----> use dspec dhval and dh2 dexpo dsatur scripts to check value histograms' 99 129 100 130
Note:
See TracChangeset
for help on using the changeset viewer.