SL2G

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

Bases: zgoubidoo.commands.contrib.iba.VerticalSlits

First horizontal collimator

Command attributes

LABEL1='SL2G'

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

Type

str

LABEL2=''

Secondary label for the Zgoubi command.

Type

str

IA='1'

Element active or not (0 - inactive, 1 - active, 2 - active and prints information.

Type

int

IFORM='1'

Aperture shape (1 - rectangular, 2 - elliptic (other options, see documentation).

Type

int

J='0'

Description of the aperture coordinates system.

Type

int

C1='0.6 centimeter'

Half opening (Y).

Type

Quantity

C2='27.5 millimeter'

Half opening (Z).

Type

Quantity

C3='0 centimeter'

Center of the aperture (Y).

Type

Quantity

C4='0 centimeter'

Center of the aperture (Z).

Type

Quantity

Default initializer for all Commands.

Attributes Summary

KEYWORD

PARAMETERS

Attributes Documentation

KEYWORD: str = 'COLLIMA'
PARAMETERS: dict = {'C1': (<Quantity(0.6, 'centimeter')>, 'Half opening (Y).'), 'C2': (<Quantity(27.5, 'millimeter')>, 'Half opening (Z).'), 'C3': (<Quantity(0, 'centimeter')>, 'Center of the aperture (Y).'), 'C4': (<Quantity(0, 'centimeter')>, 'Center of the aperture (Z).'), 'IA': (1, 'Element active or not (0 - inactive, 1 - active, 2 - active and prints information.'), 'IFORM': (1, 'Aperture shape (1 - rectangular, 2 - elliptic (other options, see documentation).'), 'J': (0, 'Description of the aperture coordinates system.'), 'LABEL1': ('SL2G', 'Primary label for the Zgoubi command (default: auto-generated hash).'), 'LABEL2': ('', 'Secondary label for the Zgoubi command.')}