QON#
- class QON#
Bases:
objectQualified observation name.
Used for representing, creating and parsing observation names that conform to the current convention. When the convention changes, the first thing you should do is to update the classes in this module.
Note
This class provides a somewhat reliable way to encode more than one data item in
ObservationBase.dut_field, aka “observation name”. Eventually a more viable solution could be to give each of these items their own fields in the observation structure.Module:
iqm.station_control.client.qonAttributes
Type/purpose of the observation.
Methods
Parse an observation name into a QON object.
- classmethod from_str(name)#
Parse an observation name into a QON object.
- Parameters:
name (str) – Observation name (aka dut_field) to parse.
- Returns:
Corresponding qualified observation name object.
- Raises:
ValueError – Failed to parse
namebecause it was syntactically incorrect.UnknownObservationError – Failed to parse
namebecause it contains unknown elements.
- Return type: