./math/py-lmfit, Least-squares minimization with bounds and constraints

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2021Q3, Version: 1.0.1, Package name: py38-lmfit-1.0.1, Maintainer: prlw1

A 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:

SHA1: ef4337a6c647058dfad609a0ee4ca024bf1ec7c8
RMD160: e641f717229828c32375e6d4f22c66bc998e3a55
Filesize: 252.313 KB

Version history: (Expand)