Hello Michael,
I was wondering if there is a way one can introduce tilts (pitch and yaw) about the axes perpendicular to the magnetic axis of KQUAD? It would have been much easier if it was possible to do it with element parameters in elegant for error studies.
(At the moment I am thinking of loading 'tilted field maps' from a magnet model.)
cheers,
Neeraj
Tilting quadrupoles
Moderators: cyao, michael_borland
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Tilting quadrupoles
Neeraj,
The only way to do this at present is using MALIGN elements before and after the KQUAD. E.g.,
You'll see a sextupole-like term. See attached.
--Michael
The only way to do this at present is using MALIGN elements before and after the KQUAD. E.g.,
Code: Select all
mal1: malign
mal2: malign
Q1: KQUAD,L=0.20494743951919,K1=3.946439610164161,&
N_KICKS=48,EDGE1_EFFECTS=1,EDGE2_EFFECTS=1,I0P=0.003824662127752904,&
I1P=6.903339913689746e-05,I2P=2.972459683194837e-06,I3P=2.03620440157978e-07,&
LAMBDA2P=1.451116689085801e-07,I0M=-0.003677869867790978,&
I1M=1.815037845766118e-05,I2M=-2.368849318580891e-07,&
I3M=8.218609250308457e-09,LAMBDA2M=3.037179653285794e-08
bl: line=(mal1,q1,mal2)
Code: Select all
&alter_elements name=MAL1, item=DXP, value=1e-2 &end
&alter_elements name=MAL1, item=DX, value="(1e-2 0.20494743951919 * -2 /)" &end
&alter_elements name=MAL2, item=DXP, value=-1e-2 &end
&alter_elements name=MAL2, item=DX, value="(-1e-2 0.20494743951919 * -2 /)" &end
--Michael
- Attachments
-
- kquadYaw.zip
- (1.86 KiB) Downloaded 226 times