dodal.devices.smargon.AxisLimit#

class dodal.devices.smargon.AxisLimit[source]#

Represents the minimum and maximum allowable values on an axis

Parameters:

Methods

contains(pos)

Determine if the specified value is within limits.

Attributes

min_value

max_value

contains(pos: float)[source]#

Determine if the specified value is within limits.

Parameters:

pos (float) – the value to check

Returns:

True if the value does not exceed the limits