You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear all,
When using "at/atmat/pubtools/LatticeTuningFunctions/errors/atsettiltdipole.m" to set the tilt error for elements, something seems inconsistent. In attiltelem.m, a straight element is tilted clockwise around the direction of beam motion by an angle PSI, while in atsettiltdipole.m, if following the same tilt sign convention for a dipole element, a "standard" bending magnet will be tilted clockwise, and leads to a horizontal kick that increase px, i.e., PolynomB(1) = -BendingAngle / Length * (1 - cos(PSI)) ; meanwhile, this also leads to a vertical kick that bends downward (decrease py), i.e., PolynomB(1) = -BendingAngle / Length * sin(PSI) . So I guess there is a sign error in the PolynomB(1) in atsettiltdipole.m.
The text was updated successfully, but these errors were encountered:
Dear all,
When using "at/atmat/pubtools/LatticeTuningFunctions/errors/atsettiltdipole.m" to set the tilt error for elements, something seems inconsistent. In attiltelem.m, a straight element is tilted clockwise around the direction of beam motion by an angle PSI, while in atsettiltdipole.m, if following the same tilt sign convention for a dipole element, a "standard" bending magnet will be tilted clockwise, and leads to a horizontal kick that increase px, i.e., PolynomB(1) = -BendingAngle / Length * (1 - cos(PSI)) ; meanwhile, this also leads to a vertical kick that bends downward (decrease py), i.e., PolynomB(1) = -BendingAngle / Length * sin(PSI) . So I guess there is a sign error in the PolynomB(1) in atsettiltdipole.m.
The text was updated successfully, but these errors were encountered: