[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add python-lmfit.
From: |
guix-commits |
Subject: |
04/06: gnu: Add python-lmfit. |
Date: |
Mon, 15 Mar 2021 06:47:09 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit c20813bb08d19d424a5965da467599284adad8fc
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Mar 15 11:38:15 2021 +0100
gnu: Add python-lmfit.
* gnu/packages/python-xyz.scm (python-lmfit): New variable.
---
gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9ae80bd..a9fa391 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11607,6 +11607,36 @@ expression.")
using the @code{ast} module")
(license license:expat)))
+(define-public python-lmfit
+ (package
+ (name "python-lmfit")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "lmfit" version))
+ (sha256
+ (base32
+ "0iab33jjb60f8kn0k0cqb0vjp1mdskks2n3kpn97zkw5cvjhq2b7"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-asteval" ,python-asteval)
+ ("python-numpy" ,python-numpy)
+ ("python-scipy" ,python-scipy)
+ ("python-uncertainties" ,python-uncertainties)))
+ (native-inputs
+ `(("python-pytest" ,python-pytest)))
+ (home-page "https://lmfit.github.io/lmfit-py/")
+ (synopsis "Least-Squares minimization with bounds and constraints")
+ (description
+ "Lmfit provides a high-level interface to non-linear optimization and
+curve fitting problems for Python. It builds on and extends many of the
+optimization methods of @code{scipy.optimize}. Initially inspired by (and
+named for) extending the Levenberg-Marquardt method from
+@code{scipy.optimize.leastsq}, lmfit now provides a number of useful
+enhancements to optimization and data fitting problems.")
+ (license license:bsd-3)))
+
(define-public python-boto
(package
(name "python-boto")
- branch master updated (c3163fe -> 6e0ed09), guix-commits, 2021/03/15
- 01/06: gnu: guile-email-latest: Update to 0.2.2-1.ca0520a., guix-commits, 2021/03/15
- 02/06: gnu: Add python-uncertainties., guix-commits, 2021/03/15
- 04/06: gnu: Add python-lmfit.,
guix-commits <=
- 06/06: gnu: Add instrain., guix-commits, 2021/03/15
- 05/06: gnu: Add python-drep., guix-commits, 2021/03/15
- 03/06: gnu: Add python-asteval., guix-commits, 2021/03/15