orbit.py_linac.lattice.LinacAccLatticeFunc#

This package is a collection of the lattice functions. Some of these functions could be lattice class methods, but I think they are too specific. So they will be functions.

Functions

GetGlobalQuadGradient(accLattice, z)

The service function for the overlapping fields package.

GetGlobalQuadGradientDerivative(accLattice, z)

The service function for the overlapping fields package.

GetGlobalRF_AxisField(accLattice, z)

The service function for the overlapping RF fields package.

getAllMagnetsInLattice(accLattice)

Returns the array with all magnets including magnets on all levels (e.g correctors)

getAllNodesInLattice(accLattice)

Returns the array with all nodes on all levels (even sub-child).

getNodeForNameFromWholeLattice(accLattice, name)

Returns the accelerator node or an array of nodes with the same name.

getNodePosDictForWholeLattice(accLattice)

Returns the dict[node] = (posStart,posEnd) for all nodes (not only for the firts level).

Classes

AccActionsContainer([name])

Class.

AccLattice([name])

Class.

AccNode([name, type_in])

Class.

AxisFieldRF_Gap(baserf_gap)

The RF gap representation that uses the RF axis field.

AxisField_and_Quad_RF_Gap(axis_field_rf_gap)

The class represents the part of the RF gap.

BaseLinacNode([name])

The base abstract class of the linac accelerator elements hierarchy.

Drift([name])

Drift element.

LinacMagnetNode([name])

The abstract class of the linac magnet.

OverlappingQuadsNode([name])

The class represent the set of quads with the overlapping fields.

Quad([name])

Quad Combined Function TEAPOT element.