UIParam

Contents

UIParam#

class pulserver.protocol.UIParam[source]#

Bases: object

The keys of the scanner UI’s controls, from every typed group.

UIParam.TE is FloatKey.TE; configuration keys are reached through ConfigKey.

Examples

>>> from pulserver.protocol import FloatKey, UIParam
>>> UIParam.TE is FloatKey.TE
True
>>> f"{UIParam.PHASE_FOV}"
'phase_fov'
>>> UIParam.user_value(3)
<UserKey.USER3: 'user3_value'>

Methods

exsat_loc

Return the key of the position of explicit saturation band n, 1 to 6: its centre's distance from the isocentre along its normal, in mm.

exsat_normal

Return the keys of the normal of explicit saturation band n, 1 to 6, along the physical x, y and z axes.

exsat_thickness

Return the key of the thickness of explicit saturation band n, 1 to 6, in mm.

user_name

Return the key of the description naming user entry n, 0 to 45.

user_value

Return the key of float user entry n, 0 to 45.

Attributes