Magnet layout with CSR elements
Posted: 26 Jun 2016, 21:10
Hi Michael,
It seems that the magnet layout output becomes a little strange when CSR elements are used (namely CSRDRIFT and CSRCSBEND).
For example, here's a section of bunch compressor and you can see that D_SIDE_BC1 starts at s=3.247044e+01 and DIP2_BC1 also starts at s=3.247044e+01. I've attached an image of this plotted and you can see the magnet elements all have a slanted edge.
s ElementName
m
---------------------------------
3.141949e+01 DIP1_BC1
3.196974e+01 DIP1_BC1
3.247044e+01 DIP1_BC1
3.247044e+01 DIP1_BC1
3.196974e+01 DIP1_BC1
3.196974e+01 DIP1_BC1
3.247044e+01 DIP1_BC1
3.247044e+01 W1_BC1
3.247044e+01 D_SIDE_BC1
3.701451e+01 D_SIDE_BC1
3.247044e+01 DIP2_BC1
3.701451e+01 DIP2_BC1
3.751521e+01 DIP2_BC1
3.751521e+01 DIP2_BC1
3.701451e+01 DIP2_BC1
3.701451e+01 DIP2_BC1
3.751521e+01 DIP2_BC1
3.751521e+01 W2_BC1
3.751521e+01 D_CENT_BC1
3.826521e+01 D_CENT_BC1
Is there any reason behind this? And is there a way to plot the magnet layout in it's more standard form?
Thanks in advance,
Tessa
It seems that the magnet layout output becomes a little strange when CSR elements are used (namely CSRDRIFT and CSRCSBEND).
For example, here's a section of bunch compressor and you can see that D_SIDE_BC1 starts at s=3.247044e+01 and DIP2_BC1 also starts at s=3.247044e+01. I've attached an image of this plotted and you can see the magnet elements all have a slanted edge.
s ElementName
m
---------------------------------
3.141949e+01 DIP1_BC1
3.196974e+01 DIP1_BC1
3.247044e+01 DIP1_BC1
3.247044e+01 DIP1_BC1
3.196974e+01 DIP1_BC1
3.196974e+01 DIP1_BC1
3.247044e+01 DIP1_BC1
3.247044e+01 W1_BC1
3.247044e+01 D_SIDE_BC1
3.701451e+01 D_SIDE_BC1
3.247044e+01 DIP2_BC1
3.701451e+01 DIP2_BC1
3.751521e+01 DIP2_BC1
3.751521e+01 DIP2_BC1
3.701451e+01 DIP2_BC1
3.701451e+01 DIP2_BC1
3.751521e+01 DIP2_BC1
3.751521e+01 W2_BC1
3.751521e+01 D_CENT_BC1
3.826521e+01 D_CENT_BC1
Is there any reason behind this? And is there a way to plot the magnet layout in it's more standard form?
Thanks in advance,
Tessa