Objet1¶
-
class
zgoubidoo.commands.objet.Objet1(label1: str = '', label2: str = '', *params, **kwargs)[source]¶ Bases:
zgoubidoo.commands.objet.ObjetObjet with initial coordinates drawn from a regular grid
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
-
IY='1' Total number of points in +- Y
- Type
int
-
IT='1' Total number of points in +- T
- Type
int
-
IZ='1' Total number of points in +- Z (or +Z only if K2=01)
- Type
int
-
IP='1' Total number of points in +- P (or +P only if K2=01)
- Type
int
-
IX='1' Total number of points in +- X
- Type
int
-
ID='1' Total number of points in +- D
- Type
int
-
PY='1.0 centimeter' Step size in Y
- Type
Quantity
-
PT='1.0 milliradian' Step size in T
- Type
Quantity
-
PZ='1.0 centimeter' Step size in Z
- Type
Quantity
-
PP='1.0 milliradian' Step size in P
- Type
Quantity
-
PX='1.0 centimeter' Step size in X
- Type
Quantity
-
PD='0.1' Step size in Delta(BRHO)/BORO
- Type
float
-
YR='0.0 centimeter' Reference Y
- Type
Quantity
-
TR='0.0 milliradian' Reference T
- Type
Quantity
-
ZR='0.0 centimeter' Reference Z
- Type
Quantity
-
PR='0.0 milliradian' Reference P
- Type
Quantity
-
XR='0.0 centimeter' Reference X
- Type
Quantity
-
DR='1.0' Reference D
- Type
float
Default initializer for all Commands.
Attributes Summary
Attributes Documentation
-
KEYWORD: str = 'OBJET'¶
-
PARAMETERS: dict = {'BORO': (<Quantity(1.0, 'centimeter * kilogauss')>, 'Reference magnetic rigidity.'), 'DR': (1.0, 'Reference D'), 'ID': (1, 'Total number of points in +- D'), 'IP': (1, 'Total number of points in +- P (or +P only if K2=01)'), 'IT': (1, 'Total number of points in +- T'), 'IX': (1, 'Total number of points in +- X'), 'IY': (1, 'Total number of points in +- Y'), 'IZ': (1, 'Total number of points in +- Z (or +Z only if K2=01)'), 'K2': (0,), 'KOBJ': (1,), 'LABEL1': ('', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.'), 'PD': (0.1, 'Step size in Delta(BRHO)/BORO'), 'PP': (<Quantity(1.0, 'milliradian')>, 'Step size in P'), 'PR': (<Quantity(0.0, 'milliradian')>, 'Reference P'), 'PT': (<Quantity(1.0, 'milliradian')>, 'Step size in T'), 'PX': (<Quantity(1.0, 'centimeter')>, 'Step size in X'), 'PY': (<Quantity(1.0, 'centimeter')>, 'Step size in Y'), 'PZ': (<Quantity(1.0, 'centimeter')>, 'Step size in Z'), 'TR': (<Quantity(0.0, 'milliradian')>, 'Reference T'), 'XR': (<Quantity(0.0, 'centimeter')>, 'Reference X'), 'YR': (<Quantity(0.0, 'centimeter')>, 'Reference Y'), 'ZR': (<Quantity(0.0, 'centimeter')>, 'Reference Z')}¶
-