ElementList

class ElementList(madx, sequence_name)[source]

Bases: BaseElementList, Sequence

Methods Summary

at(pos)

Find the element at specified S position.

count(value)

index(name)

Find index of element with specified name.

Methods Documentation

at(pos)[source]

Find the element at specified S position.

count(value) integer -- return number of occurrences of value
index(name)

Find index of element with specified name.

Raises:

ValueError – if the element is not found