diff options
author | Sharlatan Hellseher <[email protected]> | 2025-02-14 22:11:21 +0000 |
---|---|---|
committer | Sharlatan Hellseher <[email protected]> | 2025-02-28 22:44:04 +0000 |
commit | 3731cc5012677e802b91fbf8af65d8b3eb26730f (patch) | |
tree | e6e81f927752fe5884dde08bb9278976ead28560 /gnu/packages/python-science.scm | |
parent | 4fd8bd03eabe198b94f9b33dc115c77b17ed5081 (diff) |
gnu: Add python-mpsplines.
* gnu/packages/python-science.scm (python-mpsplines): New variable.
Change-Id: I1ae05c5bff783f7716e578bfc01699a10d13c337
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r-- | gnu/packages/python-science.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f7990bc9ea..679074c760 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1106,6 +1106,39 @@ spheres, cubes, etc.") density maps, both for interactive and non-interactive use.") (license license:bsd-2))) +(define-public python-mpsplines + ;; No release on PyPI no git tag, use the latest commit. + (let ((commit "4967655fca8f4d0fc0685486c8ec2f1fe2f199d2") + (revision "0")) + (package + (name "python-mpsplines") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jararias/mpsplines") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1wqfvjp1d6xzb07qnq72h76f0mx7za9pasgw3qp3ciaycmlkvdr3")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ; no tests provided + (native-inputs + (list python-setuptools + python-wheel)) + (propagated-inputs + (list python-scipy + python-numpy + python-loguru)) + (home-page "https://github.com/jararias/mpsplines") + (synopsis "Mean preserving interpolation with splines") + (description + "Thi package implements a functionality for mean-preserving +interpolation of 1D data (for example, time series) with splines.") + (license license:bsd-3)))) + (define-public python-pyamg (package (name "python-pyamg") |