SAD_LattElement#

class orbit.parsers.SAD_LattElement(name, Typename)[source]#

Bases: object

An Arbitrary Element in the Lattice

Methods Summary

addParameter(nameOfPar, parVal)

getElements()

Returns list of elements (only one here)

getName()

Returns name of the element

getParameter(nameOfPar)

getParameters()

Returns the dictionary with (key=name, val) pairs

getType()

Returns type of the element

hasParameter(nameOfPar)

setType(tp)

Sets the type of the element without checking

Methods Documentation

addParameter(nameOfPar, parVal)[source]#
getElements()[source]#

Returns list of elements (only one here)

getName()[source]#

Returns name of the element

getParameter(nameOfPar)[source]#
getParameters()[source]#

Returns the dictionary with (key=name, val) pairs

getType()[source]#

Returns type of the element

hasParameter(nameOfPar)[source]#
setType(tp)[source]#

Sets the type of the element without checking