Objet5¶
-
class
zgoubidoo.commands.objet.Objet5(label1: str = '', label2: str = '', *params, **kwargs)[source]¶ Bases:
zgoubidoo.commands.objet.ObjetGeneration of 11 particles, or 11*NN if I ≥ 2 (for use with MATRIX, IORD = 1).
Examples
test
Command attributes
-
LABEL1='' Primary label for the Zgoubi command (default: auto-generated hash).
- Type
str
-
LABEL2='' Secondary label for the Zgoubi command.
- Type
str
-
BORO='1.0 centimeter * kilogauss' Reference magnetic rigidity.
- Type
Quantity
-
KOBJ='5' Generation of groups 11 particles.
- Type
int
-
NN='1' Number of groups of 11 particles
- Type
int
-
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
Parameters of the command, with their default value, their description and optinally an index used by other commands (e.g.
Attributes Documentation
-
KEYWORD: str = 'OBJET'¶
-
PARAMETERS: dict = {'ALPHA_X': (0,), 'ALPHA_Y': (0,), 'ALPHA_Z': (0,), 'BETA_X': (<Quantity(1, 'meter')>,), 'BETA_Y': (<Quantity(1, 'meter')>,), 'BETA_Z': (<Quantity(1, 'meter')>,), 'BORO': (<Quantity(1.0, 'centimeter * kilogauss')>, 'Reference magnetic rigidity.'), 'DR': ([1], 'D-coordinate of the reference trajectory'), 'D_Y': (<Quantity(0, 'meter')>,), 'D_YP': (0,), 'D_Z': (<Quantity(0, 'meter')>,), 'D_ZP': (0,), 'KOBJ': (5, 'Generation of groups 11 particles.'), 'LABEL1': ('', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.'), 'NN': (1, 'Number of groups of 11 particles'), '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')}¶ Parameters of the command, with their default value, their description and optinally an index used by other commands (e.g. fit).
-