Path to this page:
./
math/py-lmfit,
Least-squares minimization with bounds and constraints
Branch: pkgsrc-2022Q3,
Version: 1.0.3nb1,
Package name: py310-lmfit-1.0.3nb1,
Maintainer: prlw1A library for least-squares minimization and data fitting in Python.
Built on top of scipy.optimize, lmfit provides a Parameter object
which can be set as fixed or free, can have upper and/or lower
bounds, or can be written in terms of algebraic constraints of
other Parameters. The user writes a function to be minimized as a
function of these Parameters, and the scipy.optimize methods are
used to find the optimal values for the Parameters. The
Levenberg-Marquardt (leastsq) is the default minimization algorithm,
and provides estimated standard errors and correlations between
varied Parameters. Other minimization methods, including Nelder-Mead's
downhill simplex, Powell's method, BFGS, Sequential Least Squares,
and others are also supported. Bounds and contraints can be placed
on Parameters for all of these methods.
In addition, methods for explicitly calculating confidence intervals
are provided for exploring minmization problems where the approximation
of estimating Parameter uncertainties from the covariance matrix
is questionable.
Master sites:
Filesize: 285.62 KB
Version history: (Expand)
- (2022-09-26) Package added to pkgsrc.se, version py310-lmfit-1.0.3nb1 (created)