iqm.pulla.calibration.CalibrationDataProvider#

class iqm.pulla.calibration.CalibrationDataProvider(station_control_client)#

Bases: object

Access calibration info via station control client and cache data in memory.

Methods

get_calibration_set(cal_set_id)

Get the calibration set from the database and cache it.

get_latest_calibration_set(chip_label)

Get the latest calibration set id for chip label from the database.

Parameters:

station_control_client (StationControlClient) –

get_calibration_set(cal_set_id)#

Get the calibration set from the database and cache it.

Parameters:

cal_set_id (UUID) –

Return type:

dict[str, bool | str | int | float | complex | ndarray]

get_latest_calibration_set(chip_label)#

Get the latest calibration set id for chip label from the database.

Return type:

tuple[dict[str, bool | str | int | float | complex | ndarray], UUID]