Ion¶
-
class
zgoubidoo.commands.particules.
Ion
(label1: str = '', label2: str = '', *params, **kwargs)[source]¶ Bases:
zgoubidoo.commands.particules.Particule
Base class for ion particles.
Command attributes
-
LABEL1=''
Primary label for the Zgoubi command (default: auto-generated hash).
- Type
str
-
LABEL2=''
Secondary label for the Zgoubi command.
- Type
str
-
M='0 megaelectronvolt_per_c2'
Mass of the particle.
- Type
Quantity
-
Q='0 coulomb'
Charge of the particle.
- Type
Quantity
-
G='0'
Factor
- Type
int
-
tau='0'
Lifetime of the particle.
- Type
int
Default initializer for all Commands.
Attributes Summary
Attributes Documentation
-
KEYWORD
: str = 'PARTICUL'¶
-
PARAMETERS
: dict = {'G': (0, 'Factor'), 'LABEL1': ('', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.'), 'M': (<Quantity(0, 'megaelectronvolt_per_c2')>, 'Mass of the particle.'), 'Q': (<Quantity(0, 'coulomb')>, 'Charge of the particle.'), 'tau': (0, 'Lifetime of the particle.')}¶
-