summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorprlw1 <prlw1@pkgsrc.org>2016-09-16 15:20:31 +0000
committerprlw1 <prlw1@pkgsrc.org>2016-09-16 15:20:31 +0000
commit4b24d14e7a7772a4d1c3129f03d718bded88f1fc (patch)
tree715354ce44e00175e4ce892ae1ef1aae000ca407 /math
parent21de091e7ce31fae3ce35d2ec67311dc8a583b8a (diff)
downloadpkgsrc-4b24d14e7a7772a4d1c3129f03d718bded88f1fc.tar.gz
Add py-lmfit 0.9.5
A library for least-squares minimization and data fitting in Python, based on scipy.optimize.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile3
-rw-r--r--math/py-lmfit/DESCR18
-rw-r--r--math/py-lmfit/Makefile18
-rw-r--r--math/py-lmfit/PLIST60
-rw-r--r--math/py-lmfit/distinfo6
5 files changed, 104 insertions, 1 deletions
diff --git a/math/Makefile b/math/Makefile
index 781cef76ac8..4857a77e80d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -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
diff --git a/math/py-lmfit/DESCR b/math/py-lmfit/DESCR
new file mode 100644
index 00000000000..85388b5e30f
--- /dev/null
+++ b/math/py-lmfit/DESCR
@@ -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.
diff --git a/math/py-lmfit/Makefile b/math/py-lmfit/Makefile
new file mode 100644
index 00000000000..d9bfcbde897
--- /dev/null
+++ b/math/py-lmfit/Makefile
@@ -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"
diff --git a/math/py-lmfit/PLIST b/math/py-lmfit/PLIST
new file mode 100644
index 00000000000..bb436049649
--- /dev/null
+++ b/math/py-lmfit/PLIST
@@ -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
diff --git a/math/py-lmfit/distinfo b/math/py-lmfit/distinfo
new file mode 100644
index 00000000000..7464ac8c392
--- /dev/null
+++ b/math/py-lmfit/distinfo
@@ -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