Package xal.tools.beam.optics
Class BendingMagnet
java.lang.Object
xal.tools.beam.optics.BendingMagnet
- Author:
- Chris Allen To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
-
Method Summary
Modifier and TypeMethodDescriptionstatic double
compCurvature
(IProbe probe, double dblFld) Compute the path curvature of a magnetic dipole for the given probe.
-
Method Details
-
compCurvature
Compute the path curvature of a magnetic dipole for the given probe. The path curvature is 1/R where R is the bending radius of the dipole (radius of curvature). Note that for zero fields the radius of curvature is infinite while the path curvature is zero.- Parameters:
probe
- probe object to be deflecteddblFld
- constant field strength of magnet- Returns:
- dipole path curvature for given probe (in 1/meters)
-