check_negative_value

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

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

Parameters
valuefloat

Value to check.

namestr

Name of value.

min_valuefloat

Minimum allowed value of the named field (inclusive).

ExceptionClass

Class of exception to raise on error.