AbstractQuadFieldSourceFunction#

class orbit.py_linac.overlapping_fields.AbstractQuadFieldSourceFunction[source]#

Bases: object

It is an abstract class describing the quadrupole magnetic field as a function of the longitudinal coordinate.

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()

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. the distribution should be normalized to 1 over the integration along the longitudinal coordinate.

getLimitsZ()[source]#