TranslationRotation

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

Bases: zgoubidoo.commands.commands.Command

Translation-Rotation of the reference frame.

Command attributes

LABEL1=''

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

Type

str

LABEL2=''

Secondary label for the Zgoubi command.

Type

str

TX='0 meter'

X axis translation

Type

Quantity

TY='0 meter'

Y axis translation

Type

Quantity

TZ='0 meter'

Z axis translation

Type

Quantity

RX='0 degree'

X axis rotation

Type

Quantity

RY='0 degree'

Y axis rotation

Type

Quantity

RZ='0 degree'

Z axis rotation

Type

Quantity

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 = 'TRAROT'

Keyword of the command used for the Zgoubi input data.

PARAMETERS: dict = {'LABEL1': ('', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.'), 'RX': (<Quantity(0, 'degree')>, 'X axis rotation'), 'RY': (<Quantity(0, 'degree')>, 'Y axis rotation'), 'RZ': (<Quantity(0, 'degree')>, 'Z axis rotation'), 'TX': (<Quantity(0, 'meter')>, 'X axis translation'), 'TY': (<Quantity(0, 'meter')>, 'Y axis translation'), 'TZ': (<Quantity(0, 'meter')>, 'Z axis translation')}

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