Sequence
- class Sequence(name, madx, _check=True)[source]
Bases:
objectMAD-X sequence representation.
Attributes Summary
Get the beam dictionary associated to the sequence.
Get list of elements.
List of elements including implicit drifts.
Check if the sequence has an associated beam.
Check if sequence is already expanded.
Return sequence length in the declaration
Get the name of the sequence.
Get the TWISS results from the last calculation.
Get the name of the table with the TWISS results.
Methods Summary
expand()Expand sequence (needed for expanded_elements).
use()Set this sequence as active.
Attributes Documentation
- beam
Get the beam dictionary associated to the sequence.
- elements
Get list of elements.
- expanded_elements
List of elements including implicit drifts.
- has_beam
Check if the sequence has an associated beam.
- is_expanded
Check if sequence is already expanded.
- length
Return sequence length in the declaration
- name
Get the name of the sequence.
- twiss_table
Get the TWISS results from the last calculation.
- twiss_table_name
Get the name of the table with the TWISS results.
Methods Documentation