Cavite

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

Bases: zgoubidoo.commands.commands.Command, zgoubidoo.commands.patchable.Patchable, zgoubidoo.commands.plotable.Plotable

Accelerating cavity.

Command attributes

LABEL1=''

Primary label for the Zgoubi command (default: auto-generated hash).

Type

str

LABEL2=''

Secondary label for the Zgoubi command.

Type

str

IOPT='0'

Model.

Type

int

FREQ='0.0 hertz'

RF frequency

Type

Quantity

V='0.0 volt'

RF voltage

Type

Quantity

PHI_S='0.0 radian'

Phase

Type

Quantity

XL='0.0 centimeter'

Cavity length

Type

Quantity

CHAMBERS='+1'

Use Chambers’ model.

Type

str

Default initializer for all Commands.

Attributes Summary

KEYWORD

Keyword of the command used for the Zgoubi input data.

PARAMETERS

Parameters of the command, with their default value, their description and optinally an index used by other commands (e.g.

Attributes Documentation

KEYWORD: str = 'CAVITE'

Keyword of the command used for the Zgoubi input data.

PARAMETERS: dict = {'CHAMBERS': ('+1', "Use Chambers' model."), 'COLOR': ('yellow',), 'FREQ': (<Quantity(0.0, 'hertz')>, 'RF frequency'), 'IOPT': (0, 'Model.'), 'LABEL1': ('', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.'), 'PHI_S': (<Quantity(0.0, 'radian')>, 'Phase'), 'V': (<Quantity(0.0, 'volt')>, 'RF voltage'), 'XL': (<Quantity(0.0, 'centimeter')>, 'Cavity length')}

Parameters of the command, with their default value, their description and optinally an index used by other commands (e.g. fit).