Add py-lmfit 0.9.5

A library for least-squares minimization and data fitting in Python,
based on scipy.optimize.
This commit is contained in:
prlw1 2016-09-16 15:20:31 +00:00
parent a7c7ad2491
commit 45d220ad5b
5 changed files with 104 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.332 2016/08/24 23:52:43 markd Exp $
# $NetBSD: Makefile,v 1.333 2016/09/16 15:20:31 prlw1 Exp $
COMMENT= Mathematics
@ -248,6 +248,7 @@ SUBDIR+= py-fpconst
SUBDIR+= py-gmpy
SUBDIR+= py-infinity
SUBDIR+= py-intervals
SUBDIR+= py-lmfit
SUBDIR+= py-mpmath
SUBDIR+= py-munkres
SUBDIR+= py-networkx

18
math/py-lmfit/DESCR Normal file
View file

@ -0,0 +1,18 @@
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.

18
math/py-lmfit/Makefile Normal file
View file

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2016/09/16 15:20:31 prlw1 Exp $
DISTNAME= lmfit-0.9.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_PYPI:=l/lmfit/}
MAINTAINER= prlw1@cam.ac.uk
HOMEPAGE= https://pypi.python.org/pypi/lmfit/
COMMENT= Least-squares minimization with bounds and constraints
LICENSE= modified-bsd
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-scipy-[0-9]*:../../math/py-scipy
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

60
math/py-lmfit/PLIST Normal file
View file

@ -0,0 +1,60 @@
@comment $NetBSD: PLIST,v 1.1 2016/09/16 15:20:31 prlw1 Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/lmfit/__init__.py
${PYSITELIB}/lmfit/__init__.pyc
${PYSITELIB}/lmfit/__init__.pyo
${PYSITELIB}/lmfit/_differentialevolution.pyc
${PYSITELIB}/lmfit/_differentialevolution.pyo
${PYSITELIB}/lmfit/_version.pyc
${PYSITELIB}/lmfit/_version.pyo
${PYSITELIB}/lmfit/asteval.pyc
${PYSITELIB}/lmfit/asteval.pyo
${PYSITELIB}/lmfit/astutils.pyc
${PYSITELIB}/lmfit/astutils.pyo
${PYSITELIB}/lmfit/confidence.pyc
${PYSITELIB}/lmfit/confidence.pyo
${PYSITELIB}/lmfit/lineshapes.pyc
${PYSITELIB}/lmfit/lineshapes.pyo
${PYSITELIB}/lmfit/minimizer.pyc
${PYSITELIB}/lmfit/minimizer.pyo
${PYSITELIB}/lmfit/model.pyc
${PYSITELIB}/lmfit/model.pyo
${PYSITELIB}/lmfit/models.pyc
${PYSITELIB}/lmfit/models.pyo
${PYSITELIB}/lmfit/ordereddict.pyc
${PYSITELIB}/lmfit/ordereddict.pyo
${PYSITELIB}/lmfit/parameter.pyc
${PYSITELIB}/lmfit/parameter.pyo
${PYSITELIB}/lmfit/printfuncs.pyc
${PYSITELIB}/lmfit/printfuncs.pyo
${PYSITELIB}/lmfit/_differentialevolution.py
${PYSITELIB}/lmfit/_version.py
${PYSITELIB}/lmfit/asteval.py
${PYSITELIB}/lmfit/astutils.py
${PYSITELIB}/lmfit/confidence.py
${PYSITELIB}/lmfit/lineshapes.py
${PYSITELIB}/lmfit/minimizer.py
${PYSITELIB}/lmfit/model.py
${PYSITELIB}/lmfit/models.py
${PYSITELIB}/lmfit/ordereddict.py
${PYSITELIB}/lmfit/parameter.py
${PYSITELIB}/lmfit/printfuncs.py
${PYSITELIB}/lmfit/ui/__init__.py
${PYSITELIB}/lmfit/ui/__init__.pyc
${PYSITELIB}/lmfit/ui/__init__.pyo
${PYSITELIB}/lmfit/ui/basefitter.pyc
${PYSITELIB}/lmfit/ui/basefitter.pyo
${PYSITELIB}/lmfit/ui/ipy_fitter.pyc
${PYSITELIB}/lmfit/ui/ipy_fitter.pyo
${PYSITELIB}/lmfit/ui/basefitter.py
${PYSITELIB}/lmfit/ui/ipy_fitter.py
${PYSITELIB}/lmfit/uncertainties/__init__.py
${PYSITELIB}/lmfit/uncertainties/__init__.pyc
${PYSITELIB}/lmfit/uncertainties/__init__.pyo
${PYSITELIB}/lmfit/uncertainties/umath.pyc
${PYSITELIB}/lmfit/uncertainties/umath.pyo
${PYSITELIB}/lmfit/uncertainties/umath.py

6
math/py-lmfit/distinfo Normal file
View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2016/09/16 15:20:31 prlw1 Exp $
SHA1 (lmfit-0.9.5.tar.gz) = e18d8f5c2fc21c327780a13e50051fcd13401ac4
RMD160 (lmfit-0.9.5.tar.gz) = 3e9c32c8fe88987e35211e4d7ed694eff292dc7d
SHA512 (lmfit-0.9.5.tar.gz) = 9bbc38f7837d139877d344f293c070a16b53876a982e578558690fb833724bb3373075c0c8e8829610c76aeb5d5500c629f51090e8deb5fee42762a5294ed25d
Size (lmfit-0.9.5.tar.gz) = 1128987 bytes