check_negative_value

lsst.ts.hexapod.check_negative_value(value, name, min_value, ExceptionClass=<class 'ValueError'>)

Check that a numeric value is in range min_value <= value < 0.

Parameters:
value : float

Value to check.

name : str

Name of value.

min_value : float

Minimum allowed value of the named field (inclusive).

ExceptionClass

Class of exception to raise on error.