orbit.lattice.AccLattice#
- class orbit.lattice.AccLattice(name='no name')[source]#
Class. The accelerator lattice class contains child nodes.
Methods
__init__([name])Constructor.
addNode(node[, index])Method.
getLength()Method.
getName()Method.
getNodeForName(name)Method.
getNodeIndex(node)Method.
getNodePositionsDict()Method.
getNodes()Method.
getNodesForName(name)Method.
getNodesForSubstring(sub[, no_sub])Method.
getNodesOfClass(class_of_node)Method.
getSubLattice([index_start, index_stop])It returns the sub-accelerator lattice with children with indexes between index_start and index_stop inclusive.
getType()Method.
initialize()Method.
isInitialized()Method.
reverseOrder()This method is used for a lattice reversal and a bunch backtracking.
setName([name])Method.
setNodes(childrenNodes)Method.
setType([type_in])Method.
structureToText()Returns the text with the lattice structure.
trackActions(actionsContainer[, paramsDict, ...])Method.
Attributes
AFTERBEFOREBODYENTRANCEEXIT