EngeFunction#
- class orbit.py_linac.overlapping_fields.EngeFunction(length_param, acceptance_diameter_param, cutoff_level=0.01)[source]#
Bases:
orbit.py_linac.overlapping_fields.overlapping_quad_fields_lib.AbstractQuadFieldSourceFunctionThe Enge function with parameters from Berz’s paper 1.
References
- 1
Berz, B. Erdélyi, and K. Makino, “Fringe field effects in small rings of large acceptance,” Phys. Rev. ST Accel. Beams, vol. 3, no. 12, p. 124001, Dec. 2000, doi: 10.1103/PhysRevSTAB.3.124001.
Methods Summary
Returns the cutoff distance from the center of quad's field
Returns the derivative of the getFuncValue(z)
getFuncValue(z)Returns the quad's field at the distance z from the center
Returns the tuple with min and max Z value for this field
Returns the number of points in the field function
setAcceptanceDiameter(acceptance_diameter)Sets the acceptance diameter of the quad
setCutOffLevel(cutoff_level)Sets the cutoff level for quad's field
setCutOffZ(cutoff_z)Sets the cutoff distance from the center of quad's field
setEngeCoefficients(a_arr)Sets new values for Enge function's coeffients.
setLength(length)Sets the length of quad's field
setNumberOfPoints(n_func_points)Sets the number of points in the field function
Methods Documentation