BeamTwiss¶
-
class
zgoubidoo.commands.beam.BeamTwiss(label1: str = '', label2: str = '', *params, **kwargs)[source]¶ Bases:
zgoubidoo.commands.beam.BeamA beam to be used for transfer map and Twiss computations.
Command attributes
-
LABEL1='' Primary label for the Zgoubi command (default: auto-generated hash).
- Type
str
-
LABEL2='' Secondary label for the Zgoubi command.
- Type
str
-
YR='[0]' Y-coordinate of the reference trajectory
- Type
list
-
TR='[0]' T-coordinate of the reference trajectory
- Type
list
-
ZR='[0]' Z-coordinate of the reference trajectory
- Type
list
-
PR='[0]' P-coordinate of the reference trajectory
- Type
list
-
XR='[0]' X-coordinate of the reference trajectory
- Type
list
-
DR='[1]' D-coordinate of the reference trajectory
- Type
list
Default initializer for all Commands.
Attributes Summary
Methods Summary
from_sequence(sequence, **kwargs)- param sequence
TODO
post_init([betablock, sequence, objet_type])- param betablock
Attributes Documentation
-
PARAMETERS: dict = {'ALPHA_X': (0.0,), 'ALPHA_Y': (0.0,), 'ALPHA_Z': (0.0,), 'BETA_X': (<Quantity(1.0, 'meter')>,), 'BETA_Y': (<Quantity(1.0, 'meter')>,), 'BETA_Z': (<Quantity(1.0, 'meter')>,), 'DR': ([1], 'D-coordinate of the reference trajectory'), 'D_Y': (<Quantity(0, 'meter')>,), 'D_YP': (0,), 'D_Z': (<Quantity(0, 'meter')>,), 'D_ZP': (0,), 'LABEL1': ('', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.'), 'PD': (0.001,), 'PP': (0.001,), 'PR': ([0], 'P-coordinate of the reference trajectory'), 'PT': (0.001,), 'PX': (0.001,), 'PY': (0.001,), 'PZ': (0.001,), 'TR': ([0], 'T-coordinate of the reference trajectory'), 'XR': ([0], 'X-coordinate of the reference trajectory'), 'YR': ([0], 'Y-coordinate of the reference trajectory'), 'ZR': ([0], 'Z-coordinate of the reference trajectory')}¶
Methods Documentation
-