source: MML/trunk/machine/SOLEIL/Booster/applications/orbitS.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 462 bytes
Line 
1% Returns beam signals at BPM location
2%   Usefull to determine where the beam is lost if beam does make a turn.
3%
4% affichage des vecteur Sum
5%
6% TODO
7 
8%
9% Written by A. Loulergue
10
11n=28;
12nbpm=22;
13clear visu s
14for i=2:nbpm,
15   ss = getbpmrawdata(i,'NoDisplay','Struct','NoGroup');
16   j=0;
17   k1=((i-1)*n)+1;
18   k2=(i*n);
19   for k=k1:k2
20       j=j+1;
21       visu(k)=ss.Data.Sum(j);
22       s(k)=k/n+1;
23   end
24end   
25
26figure(12)
27plot(s,visu); xlim([1 (nbpm+1)])
Note: See TracBrowser for help on using the repository browser.