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 M.Berz, B. Erdelyn, K.Makino
Fringe Field Effects in Small Rings of Large Acceptance Phys. Rev STAB, V3, 124001(2000)
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