CADETProcess.dataStructure.parameter.Ranged.check_range

CADETProcess.dataStructure.parameter.Ranged.check_range#

Ranged.check_range(value)[source]#

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.