You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are effectively just wrappers of the general non-linear least squares routines, which take the pair (xdata, ydata) alongside the function to be fitted.
The text was updated successfully, but these errors were encountered:
I would say add the example, but don't try to provide a curve-fitting api in this library, since a general curve-fitting library should be a separate project. :) There are lot of different curve-fitting methods, and even quite a few fortran projects out there (I maintain several myself).
A typical usage case for non-linear least squares is curve fitting.
In the archived version of @certik, there is already a demo example of a
find_fit
subprogram: https://github.com/certik/minpack/blob/b46766bd42ec6f08114caf5f6d811d815f78a809/examples/example_primes.f90#L23Both SciPy and MATLAB provide convenience functions for this purpose:
scipy.optimize.curve_fit
lsqcurvefit
These are effectively just wrappers of the general non-linear least squares routines, which take the pair
(xdata, ydata)
alongside the function to be fitted.The text was updated successfully, but these errors were encountered: