guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/16: gnu: Add python-multiscale-spatial-image.


From: guix-commits
Subject: 13/16: gnu: Add python-multiscale-spatial-image.
Date: Mon, 29 Apr 2024 06:39:03 -0400 (EDT)

rekado pushed a commit to branch wip-python-team
in repository guix.

commit 638bb3d151b917b08a90c04430b7c5a904f9ce2f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Apr 29 12:05:30 2024 +0200

    gnu: Add python-multiscale-spatial-image.
    
    * gnu/packages/python-xyz.scm (python-multiscale-spatial-image): New 
variable.
    
    Change-Id: I05a0b3a93091148917fade831faefb88c13bbc6f
---
 gnu/packages/python-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4156cf6e8b..3b2d876338 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8465,6 +8465,47 @@ easily generalized like @dfn{compressed sparse 
row/column}(CSR/CSC) and
 depends on @code{scipy.sparse} for some computations.")
     (license license:bsd-3)))
 
+(define-public python-multiscale-spatial-image
+  (package
+    (name "python-multiscale-spatial-image")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "multiscale_spatial_image" version))
+       (sha256
+        (base32 "01kcagjy797hbz5an9cp8wcl5krgp21yb7ibfimvpidb3jp5lfhb"))))
+    (build-system pyproject-build-system)
+    ;; All interesting tests require file downloads over IPFS.
+    (arguments (list #:tests? #false))
+    (propagated-inputs
+     (list `(,insight-toolkit "python")
+           python-dask
+           python-dask-image
+           python-numpy
+           python-spatial-image
+           python-xarray
+           python-xarray-datatree))
+    (native-inputs
+     (list python-fsspec
+           python-hatchling
+           python-ipfsspec
+           python-jsonschema
+           python-nbmake
+           python-pooch
+           python-pytest
+           python-pytest-mypy
+           python-urllib3
+           python-zarr))
+    (home-page "https://github.com/spatial-image/multiscale-spatial-image";)
+    (synopsis "Multi-dimensional spatial image data structure")
+    (description
+     "This package lets you generate a multiscale, chunked, multi-dimensional
+spatial image data structure that can serialized to OME-NGFF.  Each scale is a
+scientific Python Xarray spatial-image Dataset, organized into nodes of an
+Xarray Datatree.")
+    (license license:asl2.0)))
+
 (define-public python-spectra
   (package
     (name "python-spectra")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]