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

user_name

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

user_value

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

Attributes