Particule¶
-
class
zgoubidoo.commands.particules.
Particule
(label1='', label2='', *params, **kwargs)[source]¶ Bases:
zgoubidoo.commands.commands.Command
Particle characteristics.
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
TODO :param label1: :param label2: :param *params: :param **kwargs:
Attributes Summary
Keyword of the command used for the Zgoubi input data.
Charge of the particle.
Gyromagnetic factor of the particle.
Lifetime constant of the particle.
Mass of the particle.
Attributes Documentation
-
KEYWORD
: str = 'PARTICUL'¶ Keyword of the command used for the Zgoubi input data.
-
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.')}¶
-
charge
¶ Charge of the particle.
-
gyro
¶ Gyromagnetic factor of the particle.
-
lifetime
¶ Lifetime constant of the particle.
-
mass
¶ Mass of the particle.
-