source: MML/trunk/machine/SOLEIL/StorageRing/bpm/analyse_reconst2.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: 673 bytes
Line 
1function analyse_reconst
2
3load('BPMData_30tours.mat');
4
5% to be set in startup file
6set(0,'DefaultAxesColorOrder',(colordg(1:15)));
7
8%%
9Sum  = AM.Data.Va + AM.Data.Vd + AM.Data.Va + AM.Data.Vd;
10Quad  = (AM.Data.Va + AM.Data.Vc - AM.Data.Vb - AM.Data.Vd)./Sum;
11Kx = 11.4; Kz = 11.4;
12XPos = Kx*(AM.Data.Va - AM.Data.Vb + AM.Data.Vd - AM.Data.Vc)./Sum;
13ZPos = Kz*(AM.Data.Va + AM.Data.Vb - AM.Data.Vc - AM.Data.Vd)./Sum;
14
15AM.Data.Sum = Sum;
16AM.Data.Q = Quad;
17AM.Data.X = XPos;
18AM.Data.Z = ZPos;
19
20% figure;
21% plot(repmat((1:8),3),'.-')
22% legend('1','2','3','4','5','6','7','8')
23 
24%% Superperiod 1
25
26
27plotDD(AM,0,0)
28plotDD(AM,4,30)
29plotDD(AM,4*2,30*2)
30plotDD(AM,4*3,30*3)
31
32
Note: See TracBrowser for help on using the repository browser.