QbloxMeasurementResult

class qililab.result.QbloxMeasurementResult(bus, raw_measurement_data, shape=None)

Bases: MeasurementResult

QbloxMeasurementResult class. Contains the acquisitions results for a single measurement obtained from the Cluster.get_acquisitions method.

This class stores the acquisition results from a single measurement obtained via the Cluster.get_acquisitions method. It parses and reshapes the raw data provided by the Qblox hardware into standardized numpy arrays for further processing.

Parameters:
  • name – ResultName Identifier for the type of result.

  • raw_measurement_data – dict Raw dictionary of measurement data from the digitiser.

  • shape – tuple of int or None Expected shape to reshape the raw measurement arrays into.

  • bus – str Identifier for the acquisition bus.

Methods

Attributes

array

Get I/Q data as an np.ndarray

name

threshold

Get the thresholded data as an np.ndarray.

yaml_tag

property array

Get I/Q data as an np.ndarray

Returns:

The I/Q data

Return type:

np.ndarray

property threshold

Get the thresholded data as an np.ndarray.

Returns:

The thresholded data.

Return type:

np.ndarray