Replies: 2 comments
-
Hello @tfs563, What defines the dipole as sector or rectangular is the pass method. The "geometrical" description of the magnet as length, bending angle and entrance/exit angles is the same for both. There is a short description in the documentation of passmethods: " In a “sector” magnet, the magnetic axis is an arc of a circle following the design trajectory, But I agree it's missing in the documentation of dipole elements. Note that there are only 2 passmethods for rectangular magnets: ExactRectangularBendPass and BndStrMPoleSymplectic4Pass (undocumented) |
Beta Was this translation helpful? Give feedback.
-
I move this to discussion |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm trying to figure out if the Dipole element has a way to identify a bending magnet as either a rectangular magnet or a sector magnet. I looked into the Dipole element within the at.lattice.element documentation website, but I'm not sure which parameters or keyword arguments would need to be included/changed to make the magnet one or the other. My first thoughts were the EntranceAngle and ExitAnfgle arguments could do this, but, to me, it seems like it would change the angle of the incoming beam?
Anyway, some help in figuring out how to do this would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions