Deduce machine current changes
This is replacing the logic of the interpolation by using numpy.interp
instead of the function compute
.
In terms of optimization:
old: 12 ms ± 89.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
new: 8.21 ms ± 58.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each)
Closes #179 (closed)
Edited by Pierre-Olivier Autran