Fits (x, y) data given as arrays to a specified model function using the Levenberg-Marquardt algorithm.
Smart Arrays LM (Levenberg-Marquart) Fit #
What the package can do for you #
The purpose of this package is to fit "experimental data" to a "fit function" representing a model for the experimental data. These must be specified as an array of x values and an an array of the respective y values.
This curve fitter is using the Levenberg-Marquardt algorithm. The Dart implementation here was derived from https://github.com/reptillicus/jsfit.
The provided example can be directly executed via https://smart.specpad.bplaced.net/smart_arrays_lmfit/example.html.
Or, download a package and execute the file
example/example.htmlin your browser.
The major API functionalities #
- call constructor
- call fit() or lmfit() ( = async version of fit())