LMFIT: Non-Linear Least-Square Minimization and Curve-Fitting for Python

University of Chicago · Freie Universität Berlin · +2 more institutions

Indexed indatacite

Abstract

Lmfit provides a high-level interface to non-linear optimization and curve fitting problems for Python. Lmfit builds on Levenberg-Marquardt algorithm of scipy.optimize.leastsq(), but also supports most of the optimization method from scipy.optimize. It has a number of useful enhancements, including: Using Parameter objects instead of plain floats as variables. A Parameter has a value that can be varied in the fit, fixed, have upper and/or lower bounds. It can even have a value that is constrained by an algebraic expression of other Parameter values. Ease of changing fitting algorithms. Once a fitting model is set up, one can change the fitting algorithm without changing the objective function. Improved…

No related works found for this paper.