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.

to_HDF(group)#

Serialize the object state to HDF5.

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

Parameters:

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

Return type:

None

classmethod from_HDF(group)#

De-Serialized the object state from HDF5.

Recalls the object’s state from a HDF5 group.

Parameters:

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

Return type:

DelayCalibration

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!!!!

Parameters:
  • 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:

DelayCalibration

Returns: An initialized delay calibration instance.