python3-lmfit_0.8.0+dfsg.1-1_all.deb


Advertisement

Description

python3-lmfit - Least-Squares Minimization with Constraints (Python 3)

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: python3-lmfit
Package version: 0.8.0+dfsg.1
Package release: 1
Package architecture: all
Package type: deb
Installed size: 296 B
Download size: 60.15 KB
Official Mirror: ftp.br.debian.org
The lmfit Python package provides a simple, flexible interface to non-linear optimization or curve fitting problems. The package extends the optimization capabilities of scipy.optimize by replacing floating pointing values for the variables to be optimized with Parameter objects. These Parameters can be fixed or varied, have upper and/or lower bounds placed on its value, or written as an algebraic expression of other Parameters. The principal advantage of using Parameters instead of simple variables is that the objective function does not have to be rewritten to reflect every change of what is varied in the fit, or what relationships or constraints are placed on the Parameters. This means a scientific programmer can write a general model that encapsulates the phenomenon to be optimized, and then allow user of that model to change what is varied and fixed, what range of values is acceptable for Parameters, and what constraints are placed on the model. The ease with which the model can be changed also allows one to easily test the significance of certain Parameters in a fitting model. The lmfit package allows a choice of several optimization methods available from scipy.optimize. The default, and by far best tested optimization method used is the Levenberg-Marquardt algorithm from from MINPACK-1 as implemented in scipy.optimize.leastsq. This method is by far the most tested and best support method in lmfit, and much of this document assumes this algorithm is used unless explicitly stated. An important point for many scientific analysis is that this is only method that automatically estimates uncertainties and correlations between fitted variables from the covariance matrix calculated during the fit. A few other optimization routines are also supported, including Nelder-Mead simplex downhill, Powell's method, COBYLA, Sequential Least Squares methods as implemented in scipy.optimize.fmin, and several others from scipy.optimize. In their native form, some of these methods setting allow upper or lower bounds on parameter variables, or adding constraints on fitted variables. By using Parameter objects, lmfit allows bounds and constraints for all of these methods, and makes it easy to swap between methods without hanging the objective function or set of Parameters. Finally, because the approach derived from MINPACK-1 usin the covariance matrix to determine uncertainties is sometimes questioned (and sometimes rightly so), lmfit supports methods to do a brute force search of the confidence intervals and correlations for sets of parameters. This is the Python 3 version of the package.

Alternatives

    Download

    Source package: lmfit-py

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install python3-lmfit deb package:
      # sudo apt-get install python3-lmfit

    Files

    • /usr/lib/python3/dist-packages/lmfit/__init__.py
    • /usr/lib/python3/dist-packages/lmfit/asteval.py
    • /usr/lib/python3/dist-packages/lmfit/astutils.py
    • /usr/lib/python3/dist-packages/lmfit/confidence.py
    • /usr/lib/python3/dist-packages/lmfit/lineshapes.py
    • /usr/lib/python3/dist-packages/lmfit/minimizer.py
    • /usr/lib/python3/dist-packages/lmfit/model.py
    • /usr/lib/python3/dist-packages/lmfit/models.py
    • /usr/lib/python3/dist-packages/lmfit/ordereddict.py
    • /usr/lib/python3/dist-packages/lmfit/parameter.py
    • /usr/lib/python3/dist-packages/lmfit/printfuncs.py
    • /usr/lib/python3/dist-packages/lmfit-0.8.0.egg-info/PKG-INFO
    • /usr/lib/python3/dist-packages/lmfit-0.8.0.egg-info/dependency_links.txt
    • /usr/lib/python3/dist-packages/lmfit-0.8.0.egg-info/top_level.txt
    • /usr/lib/python3/dist-packages/lmfit/ui/__init__.py
    • /usr/lib/python3/dist-packages/lmfit/ui/basefitter.py
    • /usr/lib/python3/dist-packages/lmfit/ui/ipy_fitter.py
    • /usr/lib/python3/dist-packages/lmfit/uncertainties/__init__.py
    • /usr/lib/python3/dist-packages/lmfit/uncertainties/umath.py
    • /usr/share/doc/python3-lmfit/changelog.Debian.gz
    • /usr/share/doc/python3-lmfit/copyright

    Changelog

    2014-08-31 - Picca Frédéric-Emmanuel <picca@debian.org> lmfit-py (0.8.0+dfsg.1-1) unstable; urgency=medium * Imported Upstream version 0.8.0+dfsg.1 * Remove all patches (applyed upstream) * Add the doc-base registration

    2014-03-07 - Picca Frédéric-Emmanuel <picca@debian.org> lmfit-py (0.7.4+dfsg.2-1) unstable; urgency=low * Initial release (Closes: #741078)

    Advertisement
    Advertisement