Closed amiller27 closed 7 years ago
In the old version with left.cut
I get
/usr/lib/python2.7/site-packages/scipy/optimize/minpack.py:715: OptimizeWarning: Covariance of the parameters could not be estimated
category=OptimizeWarning)
[ nan nan nan nan]
But it doesn't happen in the new version. Is that good because it's fixed, or bad because the behavior changed?
This happens in both old and new versions, so I doubt it's an issue, but just mentioning it.
RuntimeWarning: invalid value encountered in power return a*(x-b)**c+d
For the first one, as long as the new version spits out a plot with a fitted curve, that's good because it's fixed. The RuntimeWarning
is fine.
OK, and should the input data still be plotted as points (ea8dd3700f125503c968e19c3a5e66b2d3aa23e4), or did you want it to be a line?
I think points is better
This was really bothering me, so I fixed it.
The curve fitter is now much more robust, and is also completely parameterless, meaning that it should work with different sensors in the future without any modifications.