SimpleQuadFieldFunc#

class orbit.py_linac.overlapping_fields.SimpleQuadFieldFunc(quad)[source]#

Bases: orbit.py_linac.overlapping_fields.overlapping_quad_fields_lib.AbstractQuadFieldSourceFunction

It is an implementation of the QuadFieldSourceFunction class for a simple quad with constant field between (-L/2;+L/2).

Methods Summary

getFuncDerivative(z)

Returns the derivative of the getFuncValue(z)

getFuncValue(z)

Returns the quad's normalized field distribution at the distance z from the center

getLimitsZ()

Returns (+L/2,-L/2) as longitudinal limits of the quad field.

Methods Documentation

getFuncDerivative(z)[source]#

Returns the derivative of the getFuncValue(z)

getFuncValue(z)[source]#

Returns the quad’s normalized field distribution at the distance z from the center

getLimitsZ()[source]#

Returns (+L/2,-L/2) as longitudinal limits of the quad field.