skip to navigation
skip to content

Not Logged In

lmfit 0.7

Least-Squares Minimization with Bounds and Constraints

Latest Version: 0.7.4

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.

 
File Type Py Version Uploaded on Size
lmfit-0.7.tar.gz (md5) Source 2012-09-19 758KB
lmfit-0.7.win32-py2.6.exe (md5) MS Windows installer 2.6 2012-09-19 226KB
lmfit-0.7.win32-py2.7.exe (md5) MS Windows installer 2.7 2012-09-19 226KB
lmfit-0.7.win32-py3.2.exe (md5) MS Windows installer 3.2 2012-09-19 226KB
  • Downloads (All Versions):
  • 104 downloads in the last day
  • 481 downloads in the last week
  • 2869 downloads in the last month