Instrument types¶
Instrument type enums and classes.
- class qblox_instruments.types.TypeEnum(value)[source]¶
Bases:
Enum
Type base class that arranges child enum string representations.
- class qblox_instruments.InstrumentClass(value)[source]¶
Bases:
TypeEnum
Instrument class enum.
- PULSAR = 'Pulsar'¶
- CLUSTER = 'Cluster'¶
- class qblox_instruments.InstrumentType(value)[source]¶
Bases:
TypeEnum
Instrument/module type enum.
- MM = 'MM'¶
- QCM = 'QCM'¶
- QRM = 'QRM'¶
- class qblox_instruments.PulsarType(value)[source]¶
Bases:
TypeEnum
Pulsar module type enum.
- PULSAR_QCM = 'Pulsar QCM'¶
- PULSAR_QRM = 'Pulsar QRM'¶
- class qblox_instruments.ClusterType(value)[source]¶
Bases:
TypeEnum
Cluster module type enum.
- CLUSTER_QCM = 'Cluster QCM'¶
- CLUSTER_QCM_RF = 'Cluster QCM-RF'¶
- CLUSTER_QRM = 'Cluster QRM'¶
- CLUSTER_QRM_RF = 'Cluster QRM-RF'¶
- class qblox_instruments.TypeHandle(instrument: Union[PulsarType, ClusterType, str])[source]¶
Bases:
object
Instrument type handler class.
- __init__(instrument: Union[PulsarType, ClusterType, str])[source]¶
Create instrument type handler object.
- Parameters
instrument (Union[PulsarType, ClusterType, str]) – Instrument/module type specification.
- property instrument_class: InstrumentClass¶
Get instrument class (e.g. Pulsar, Cluster).
- Returns
Instrument class
- Return type
- property instrument_type: InstrumentType¶
Get instrument type (e.g. MM, QRM, QCM).
- Returns
Instrument type
- Return type
- property is_mm_type: bool¶
Return if module is of type MM.
- Returns
True if module is of type MM.
- Return type
- property is_qcm_type: bool¶
Return if module is of type QCM.
- Returns
True if module is of type QCM.
- Return type