dodal.devices.movable#

Classes

MovableWithToleranceLogic

Movable logic that completes once the readback is within a configured tolerance.

Functions

is_within_tolerance(setpoint, readback, ...)

Return whether the readback is within the specified tolerance of the setpoint.

dodal.devices.movable.is_within_tolerance(setpoint: float, readback: float, tolerance: float) bool[source]#

Return whether the readback is within the specified tolerance of the setpoint.

Parameters:
Return type:

bool