CADETProcess.dataStructure.parameter.UnsignedFloat.check_range

CADETProcess.dataStructure.parameter.UnsignedFloat.check_range#

UnsignedFloat.check_range(value)#

Validate if the value is within the defined range.

Override this method if other methods for checking ranges are required (e.g. for np.ndarrays).

Parameters:
valueAny

Value to check against the range.

Raises:
ValueError

If the value is outside the specified bounds.