CADETProcess.dataStructure.parameter.DependentlyModulated.check_mod_value#
- DependentlyModulated.check_mod_value(instance, value)[source]#
Check if the size of the parameter modulo its expected size is zero.
By default, this method checks the modulo condition, but can be overridden by subclasses to incorporate custom behaviors.
- Parameters:
- instanceobject
The instance associated with the parameter.
- valueAny
The value whose size needs to be validated.
- Raises:
- ValueError
If the modulo condition of the size does not meet the expected criteria.