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

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

Initial import--MML version from SOLEIL@2013

File size: 391 bytes
Line 
1%  reglage correcteur verticaux LTI pour injection booster
2
3setsp('VCOR',vcor0);
4dz=0 ;         % pos (mm)
5QP=10;          % num QP
6
7
8n1=QP-1;  % Num CV
9n2=QP;
10n3=QP+1;
11T1=+dz*0.08/1.2;
12T2=-dz*0.04/1.2;
13T3=+dz*0.08/1.2;
14 stepsp('VCOR',T1,[n1 1]);
15 stepsp('VCOR',T2,[n2 1]);
16 stepsp('VCOR',T3,[n3 1]);
17
18%dev2tango('VCOR',[[n1 1] ; [n2 1] ;[n3 1]])
19%getam('VCOR',[[n1 1]; [n2 1] ;[n3 1]])
Note: See TracBrowser for help on using the repository browser.