SAD_LattLine#

class orbit.parsers.SAD_LattLine(name)[source]#

Bases: object

An Arbitrary Line in the Lattice. It includes SAD Lattice Lines and Elements

Methods Summary

addItem(item[, sign])

Adds a line or element to this line with cetain direction.

getElements()

Returns list of elements

getItems()

Returns list with elements and lines

getLinesDict()

Returns the dictionary with all lattice lines inside, recursive.

getName()

Returns name of the line

getType()

Methods Documentation

addItem(item, sign=1)[source]#

Adds a line or element to this line with cetain direction.

getElements()[source]#

Returns list of elements

getItems()[source]#

Returns list with elements and lines

getLinesDict()[source]#

Returns the dictionary with all lattice lines inside, recursive.

getName()[source]#

Returns name of the line

getType()[source]#