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 major API functionalities

  • Available in the class LMfit.
  • Usage:
    1. call constructor
    2. call fit() or lmfit() ( = async version of fit())

Detailed API

Please view the detailed API documentation in the API reference of this package (sidebar at the right of this page).

Using this package

You need Dart 2.0 or later.

Import the package using:

  • import 'package:smart_arrays_lmfit/smart_arrays_lmfit.dart';

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_peaks: Detect peaks in 1D and 2D arrays.

smart_lorentz-gauss: Compute Lorentz-Gauss (pseudo-Voigt) line shapes.

smart_signal_processing: Fourier transform and more.

smart_dialogs: Easy-to-use dialogs in Web applications

Libraries

smart_arrays_lmfit