GlobalElementList

class GlobalElementList(madx)[source]

Bases: BaseElementList, _Mapping

Mapping of the global elements in MAD-X.

Methods Summary

get(k[,d])

index(name)

Find index of element with specified name.

items()

keys()

values()

Methods Documentation

get(k[, d]) → D[k] if k in D, else d.  d defaults to None.
index(name)

Find index of element with specified name.

Raises:

ValueError – if the element is not found

items() → a set-like object providing a view on D's items
keys() → a set-like object providing a view on D's keys
values() → an object providing a view on D's values