NativeParticule

class zgoubidoo.commands.particules.NativeParticule(label1: str = '', label2: str = '', *params, **kwargs)[source]

Bases: zgoubidoo.commands.particules.Particule

TODO

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

NATIVE='True'
Type

bool

Default initializer for all Commands.

Attributes Summary

KEYWORD

PARAMETERS

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.'), 'NATIVE': (True, ''), 'Q': (<Quantity(0, 'coulomb')>, 'Charge of the particle.'), 'tau': (0, 'Lifetime of the particle.')}