[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/32: gnu: Add python-nilearn.
From: |
guix-commits |
Subject: |
26/32: gnu: Add python-nilearn. |
Date: |
Wed, 16 Feb 2022 11:39:42 -0500 (EST) |
nckx pushed a commit to branch wip-python-mne
in repository guix.
commit 13b5e767b029175d25dc994f3c9c40503711598d
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Sun Feb 6 23:47:47 2022 +0100
gnu: Add python-nilearn.
* gnu/packages/python-science.scm (python-nilearn): New variable.
---
gnu/packages/python-science.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 6a6924eac6..3ada23bb57 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1156,6 +1156,42 @@ limited support for @url{http://medical.nema.org/,
DICOM}. NiBabel is the
successor of @url{http://niftilib.sourceforge.net/pynifti/, PyNIfTI}.")
(license license:expat)))
+(define-public python-nilearn
+ (package
+ (name "python-nilearn")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nilearn" version))
+ (sha256
+ (base32 "0xpy479kvcnrv9rkirisgm17iqcxd6sj8xzc1a8qj57mvq5f7j7r"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python" "-m" "pytest" "--pyargs" "nilearn")))))))
+ (propagated-inputs
+ (list python-joblib
+ python-nibabel
+ python-numpy
+ python-pandas
+ python-requests
+ python-scikit-learn
+ python-scipy))
+ (native-inputs
+ (list python-pytest python-pytest-cov python-codecov python-lxml))
+ (home-page "https://nilearn.github.io")
+ (synopsis "Statistical learning for neuroimaging in Python")
+ (description "Nilearn supports general linear model (GLM) based analysis
+and leverages the scikit-learn Python toolbox for multivariate statistics with
+applications such as predictive modelling, classification, decoding, or
+connectivity analysis. It includes the functionality of nistats.")
+ (license license:bsd-3)))
+
(define-public python-nitime
(package
(name "python-nitime")
- 27/32: gnu: vtk: Also install a .egg-info., (continued)
- 27/32: gnu: vtk: Also install a .egg-info., guix-commits, 2022/02/16
- 24/32: gnu: Add python-pyvips., guix-commits, 2022/02/16
- 21/32: gnu: Add python-dipy., guix-commits, 2022/02/16
- 20/32: gnu: Add python-picard., guix-commits, 2022/02/16
- 03/32: gnu: Add python-eeglabio., guix-commits, 2022/02/16
- 16/32: gnu: Add python-pytest-steps., guix-commits, 2022/02/16
- 32/32: gnu: Add python-mne., guix-commits, 2022/02/16
- 12/32: gnu: Add a test-less python-pytest-cases., guix-commits, 2022/02/16
- 04/32: gnu: Add python-nibabel., guix-commits, 2022/02/16
- 11/32: gnu: Add a test-less python-pytest-steps., guix-commits, 2022/02/16
- 26/32: gnu: Add python-nilearn.,
guix-commits <=
- 23/32: gnu: Add python-pyperf., guix-commits, 2022/02/16
- 30/32: gnu: Add python-pyvistaqt., guix-commits, 2022/02/16
- 06/32: gnu: Add python-flake8-array-spacing., guix-commits, 2022/02/16
- 15/32: gnu: Add python-pytest-harvest., guix-commits, 2022/02/16
- 22/32: gnu: Add python-no-version., guix-commits, 2022/02/16
- 25/32: gnu: Add python-scooby., guix-commits, 2022/02/16
- 01/32: gnu: Add python-imageio-ffmpeg., guix-commits, 2022/02/16
- 10/32: gnu: Add a test-less python-pytest-harvest., guix-commits, 2022/02/16
- 31/32: gnu: Add python-mffpy., guix-commits, 2022/02/16
- 29/32: gnu: Add python-pytest-memprof., guix-commits, 2022/02/16