Raise IMDisturbanceError when the disturbance data does not fit in a register.
Fixes #INGM-338
Type of change
Raise IMDisturbanceError when the disturbance data does not fit in a register.
Tests
Create a disturbance signal that cannot fit in the register dtype (for example the signal contains negative values and the register dtype is unsigned).
Try to write the disturbance data.
Check that the IMDisturbanceError exception is raised.
Description
Raise IMDisturbanceError when the disturbance data does not fit in a register.
Fixes #INGM-338
Type of change
Tests