CADETProcess.dataStructure.parameter.RangedNdArray#
- class CADETProcess.dataStructure.parameter.RangedNdArray(*args: Any, ty: type | None = None, **kwargs: Any)[source]#
Parameter descriptor for numpy arrays with elements constrained within bounds.
- Attributes:
defaultAny: Get or set the default value of the parameter.
Methods
cast_value(value)Cast lists or scalars (int or float) to numpy arrays.
check_range(value)Check each element of an array-like structure against specified bounds.
get_default_value(instance)Return default values if necessary.
ty