scisalt.accelphys.K2BDES¶
-
scisalt.accelphys.K2BDES(K, quad_length, energy)[source]¶ Returns the BDES for a quadrupole with geometric strength K and length quad_length for a beam with a given energy. Converts a geometric focusing strength
into a quadrupole
.Parameters: K : float
The geometric focusing strength
.quad_length : float
The length of the quadrupole in meters.
energy : float
The design energy of the beam in GeV.
Returns: bdes : float
The magnet value of
.