Instrument
labridge.func_modules.reference.instrument
¶
labridge.func_modules.reference.instrument.InstrumentInfo
¶
Bases: RefInfoBase
This class contains the information of an instrument, including:
PARAMETER | DESCRIPTION |
---|---|
instrument_id |
The name of the instrument.
TYPE:
|
super_users |
The super-users of the instrument.
TYPE:
|
Source code in labridge\func_modules\reference\instrument.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|
labridge.func_modules.reference.instrument.InstrumentInfo.dumps()
¶
Dump to a string in JSON format.
Source code in labridge\func_modules\reference\instrument.py
25 26 27 28 29 30 31 32 |
|
labridge.func_modules.reference.instrument.InstrumentInfo.loads(info_str)
classmethod
¶
Load from a string in JSON format.
Source code in labridge\func_modules\reference\instrument.py
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|