smart_arrays_lmfit 2.0.8 smart_arrays_lmfit: ^2.0.8 copied to clipboard
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.
Example #
-
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.html
in your browser.
The major API functionalities #
- Class
LMfit
: Usage:- call constructor
- call fit() or lmfit() ( = async version of fit())
Related packages #
smart_arrays_base
: Basic functions for 1D and 2D arrays
smart_arrays_numerics
: Numerics with 1D and 2D arrays
smart_arrays_compress
: Compress 1D and 2D arrays to a smaller size.
smart_arrays_dbstore
: Store 1D and 2D arrays along with metadata on the local device.
smart_arrays_plot_polyline
: Plot 1D arrays as polyline along with axes and more.
smart_arrays_peaks
: Detect peaks in 1D and 2D arrays.
smart_lorentz-gauss
: Compute Lorentz-Gauss (pseudo-Voigt) line shapes.