MAD_LattLine#

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

Bases: object

Class. Represents an arbitrary line in the lattice.

Methods Summary

addItem(item[, sign])

Method.

getElements()

Returns list of elements

getItems()

Method.

getLinesDict()

Method.

getName()

Method.

getType()

Method.

Methods Documentation

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

Method. Adds a line or element to this line.

getElements()[source]#

Returns list of elements

getItems()[source]#

Method. Returns list with elements and lines.

getLinesDict()[source]#

Method. Returns a dictionary containing all lattice lines, recursive.

getName()[source]#

Method. Returns name of the line.

getType()[source]#

Method. Returns type: “LINE”.