electrical and optical signals now accept a new parameter dtype to fix the type of data inside the objects.
if noise is not given, it now will be fix to None instead vector of zeros. This was done to avoid wasting storage if it is not really necessary.
🧪 Tests:
[x] Update unittest for electrical_signal
[x] Update unittest for optical_signal
💥 BREAKING CHANGE
Most of the functions in other modules assume that if noise is not passed to initialize an object, it will be a vector of zeros, these functions will return errors with this new version of the code.
🚀 Bump version to
v1.2.0
✨ Features:
dtype
to fix the type of data inside the objects.None
instead vector of zeros. This was done to avoid wasting storage if it is not really necessary.🧪 Tests:
electrical_signal
optical_signal
💥 BREAKING CHANGE