Closed pathfinder49 closed 4 years ago
Fits with no bounds call scipy leastsq instead of scipy least_squares. See curve_fit documentation
leastsq
least_squares
kwargs
Keyword arguments passed to leastsq for method='lm' or least_squares otherwise.
this case raises FitError: leastsq() got an unexpected keyword argument 'x_scale'
FitError: leastsq() got an unexpected keyword argument 'x_scale'
Proposed solution: set the method to always use scipy least_squares
Sorry this should be in this PR
Fits with no bounds call scipy
leastsq
instead of scipyleast_squares
. See curve_fit documentationthis case raises
FitError: leastsq() got an unexpected keyword argument 'x_scale'
Proposed solution: set the method to always use scipy
least_squares