summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2025-11-05 08:54:30 +0100
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2025-11-06 09:00:53 +0100
commit3f5e967cf5e7c99213b64c75dd4ecf04d6033f19 (patch)
tree004af7ff46c2e23ea3ae30f7436badf8f6ecddd5
parentad68c35bb746d0b2e3efd06d00321339cbcc17cd (diff)
neuroscience: Add python-surfa.
* guix-science/packages/neuroscience.scm (python-surfa): New variable.
-rw-r--r--guix-science/packages/neuroscience.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/guix-science/packages/neuroscience.scm b/guix-science/packages/neuroscience.scm
index 05d1133..9b76e5d 100644
--- a/guix-science/packages/neuroscience.scm
+++ b/guix-science/packages/neuroscience.scm
@@ -9,6 +9,7 @@
9 #:use-module (gnu packages check) 9 #:use-module (gnu packages check)
10 #:use-module (gnu packages compression) 10 #:use-module (gnu packages compression)
11 #:use-module (gnu packages databases) 11 #:use-module (gnu packages databases)
12 #:use-module (gnu packages digest)
12 #:use-module (gnu packages freedesktop) 13 #:use-module (gnu packages freedesktop)
13 #:use-module (gnu packages geo) 14 #:use-module (gnu packages geo)
14 #:use-module (gnu packages gl) 15 #:use-module (gnu packages gl)
@@ -1906,6 +1907,34 @@ schemes.")
1906@acronym{MRI, Magnetic Resonance Imaging}.") 1907@acronym{MRI, Magnetic Resonance Imaging}.")
1907 (license license:asl2.0))) 1908 (license license:asl2.0)))
1908 1909
1910(define-public python-surfa
1911 (package
1912 (name "python-surfa")
1913 (version "0.6.3")
1914 (source
1915 (origin
1916 (method git-fetch)
1917 (uri (git-reference
1918 (url "https://github.com/freesurfer/surfa")
1919 (commit (string-append "v" version))))
1920 (file-name (git-file-name name version))
1921 (sha256
1922 (base32 "1pkv3qs3800fjh2yr503hx3hzxjhpsbh650x4lvgx6i4vnz5px01"))))
1923 (build-system pyproject-build-system)
1924 (propagated-inputs (list python-nibabel python-numpy python-pillow
1925 python-scipy python-xxhash))
1926 (native-inputs (list python-cython python-numpy python-pytest
1927 python-setuptools))
1928 (home-page "https://github.com/freesurfer/surfa")
1929 (synopsis "Utilities for medical image and surface processing")
1930 (description
1931 "Surfa is a collection of Python utilities for medical image analysis and
1932mesh-based surface processing. It provides tools that operate on 3D image
1933arrays and triangular meshes with consideration of their representation in a
1934world (or scanner) coordinate system. While broad in scope, surfa is developed
1935with particular emphasis on neuroimaging applications.")
1936 (license license:expat)))
1937
1909(define-public python-acres 1938(define-public python-acres
1910 (package 1939 (package
1911 (name "python-acres") 1940 (name "python-acres")