ExpandedElementList¶
- class ExpandedElementList(madx, sequence_name)[source]¶
Bases:
ElementList
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)¶
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