Quad#

class orbit.py_linac.lattice.Quad(name='quad')[source]#

Bases: orbit.py_linac.lattice.LinacAccNodes.LinacMagnetNode

Quad Combined Function TEAPOT element.

Methods Summary

getField()

Returns the field value for the magnet..

getTotalField(z)

Returns the field of the quad.

initialize()

The Quad Combined Function class implementation of the AccNode class initialize() method.

setField(field)

Sets the field value for the magnet.

track(paramsDict)

The Quad Combined Function TEAPOT class implementation of the AccNode class track(probe) method.

Methods Documentation

getField()[source]#

Returns the field value for the magnet..

getTotalField(z)[source]#

Returns the field of the quad. This function was added to make a uniform interface with OverlappingQuadsNode.

initialize()[source]#

The Quad Combined Function class implementation of the AccNode class initialize() method. The parts number should be even to have ability to put correctors at the center of the quad.

setField(field)[source]#

Sets the field value for the magnet.

track(paramsDict)[source]#

The Quad Combined Function TEAPOT class implementation of the AccNode class track(probe) method.