Delay Calibration#

class DelayCalibration(delay, physical_device=None)#

Bases: DelayCalibrationBase, Serializable

Static delay calibration

yaml_tag: Optional[str] = 'DelayCalibration'#

YAML serialization tag.

property delay: float#

Expected transmit-receive delay in seconds.


Serialize the object state to HDF5.

Dumps the object’s state and additional information to a HDF5 group.


group (Group) – The HDF5 group to which the object is serialized.

Return type:


classmethod from_HDF(group)#

De-Serialized the object state from HDF5.

Recalls the object’s state from a HDF5 group.


group (Group) – The HDF5 group from which the object state is recalled.

Return type:


Returns: The object initialized from the HDF5 group state.

static Estimate(device, max_delay, num_iterations=10, wait=0.0)#

Estimate a physical device’s inherent transmit-receive delay.

Ideally, the transmit and receive channels of the device should be connected by a patch cable. WARNING: An attenuator element may be required! Be careful!!!!

  • device (PhysicalDevice) – The physical device to calibrate, i.e. the device of which a delay is to be estimated.

  • max_delay (float) – The maximum expected delay which the calibration should compensate for in seconds.

  • num_iterations (int, optional) – Number of calibration iterations. Default is 10.

  • wait (float, optional) – Idle time between iteration transmissions in seconds. Zero by default.

Return type:


Returns: An initialized delay calibration instance.