TransferMatrix

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

Bases: zgoubidoo.commands.commands.Command

Transfer matrix.

Zgoubi manual description

TRANSMAT performs a second order transport of the particle coordinates using R and T. [Rij] ([Tijk]) is the first order (second order) transfer matrix as usually involved in second order beam optics [28]. Second order transfer is optional. The length of the element represented by the matrix may be introduced for the purpose of path length updating.

Note

MATRIX delivers [Rij] and [Tijk] matrices in a format suitable for straightforward use with TRANSMAT.

Command attributes

LABEL1=''

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

Type

str

LABEL2=''

Secondary label for the Zgoubi command.

Type

str

Default initializer for all Commands.

Attributes Summary

KEYWORD

Keyword of the command used for the Zgoubi input data.

PARAMETERS

Attributes Documentation

KEYWORD: str = 'TRANSMAT'

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.')}