Open ranchop opened 5 years ago
For plotting the fitted curve. use 1000 points xplot. unless the function returns len(xi), then use xplot=xi.
add fit region for x and y points.
Add bootstrapping
except RuntimeError as err: fitres = guess fiterr = guess print("CAN'T FIT, Returning Original Guess: Details of Error {}".format(err))
loss_function and noise_level for robust fitting
Accompanying list class (list of curve_fit objects). This would making extracting fit results from a list of curve_fits more streamlined.