CADETProcess.dataStructure.parameter.SizedFloatList#
- class CADETProcess.dataStructure.parameter.SizedFloatList(*args: Any, dtype: type | None = None, **kwargs: Any)[source]#
Descriptor for lists of floats whose size depends on other instance attributes.
- Attributes:
defaultAny: Get or set the default value of the parameter.
is_independentDetermine whether the size is independent of other parameters.
Methods
cast_value(value)Cast the type of the given value.
check_dtype(value)Validate if the dtype of values is correct.
check_size(instance, value)Validate that the provided value's size matches the expected size.
dtypeget_default_value(instance)Return default values if necessary.
get_expected_size(instance)Compute the expected size based on the instance's other attributes.
get_size(value)Determine the size of the provided value.
ty