source: MML/trunk/machine/SOLEIL/Booster/applications/orbit_bump.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: 360 bytes
Line 
1function orbit_bump(QP,dz)
2% bump dans QP vertical booster
3% QP : numero de 1 à 22
4% dz  : bump en mm
5
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;
14stepsp('VCOR',T1,[n1 1]);
15stepsp('VCOR',T2,[n2 1]);
16stepsp('VCOR',T3,[n3 1]);
17
18%dev2tango('VCOR',[[n1 1] ; [n2 1] ;[n3 1]])
19%getam('VCOR',[[n1 1]; [n2 1] ;[n3 1]])
20
Note: See TracBrowser for help on using the repository browser.