CADETProcess.dataStructure.parameter.SizedUnsignedList

CADETProcess.dataStructure.parameter.SizedUnsignedList#

class CADETProcess.dataStructure.parameter.SizedUnsignedList(*args, ty=None, **kwargs)[source]#

Descriptor for unsigned lists whose size depends on other instance attributes.

Attributes:
default

Any: Get or set the default value of the parameter.

is_independent

Determine whether the size is independent of other parameters.

Methods

cast_value(value)

Cast the type of the given value.

check_range(value)

Check each element of an array-like structure against specified bounds.

check_size(instance, value)

Validate that the provided value's size matches the expected size.

get_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)

Determines the size of the provided value.

ty

alias of list