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 | |
---|
11 | n=28; |
---|
12 | nbpm=22; |
---|
13 | clear visu s |
---|
14 | for 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 |
---|
24 | end |
---|
25 | |
---|
26 | figure(12) |
---|
27 | plot(s,visu); xlim([1 (nbpm+1)]) |
---|
Note: See
TracBrowser
for help on using the repository browser.