[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/32: gnu: Add python-nitime.
From: |
guix-commits |
Subject: |
05/32: gnu: Add python-nitime. |
Date: |
Wed, 16 Feb 2022 11:39:29 -0500 (EST) |
nckx pushed a commit to branch wip-python-mne
in repository guix.
commit 4017957d71a3f41f75f858ead8f01251ffdfb8e3
Author: Vivien Kraus <vivien@planete-kraus.eu>
AuthorDate: Thu Jan 20 19:12:02 2022 +0100
gnu: Add python-nitime.
* gnu/packages/python-science.scm (python-nitime): New variable.
---
gnu/packages/python-science.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index c659b004ed..35b58cba88 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1155,3 +1155,37 @@ FreeSurfer} geometry, annotation and morphometry files.
There is some very
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-nitime
+ (package
+ (name "python-nitime")
+ (version "0.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "nitime" version))
+ (sha256
+ (base32
+ "0x1q6ka8i330yhp5h0h6igfs2gp5dndiybyfkdi45a8zpfnr0zbf"))))
+ (build-system python-build-system)
+ (propagated-inputs (list python-matplotlib python-networkx python-nibabel
+ python-numpy python-scipy))
+ (native-inputs (list python-cython python-pytest))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'delete-generated-cython
+ (lambda _
+ (delete-file "nitime/_utils.c")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv" "nitime")))))))
+ (home-page "http://nipy.org/nitime/")
+ (synopsis "Nitime: timeseries analysis for neuroscience data")
+ (description
+ "Nitime contains a core of numerical algorithms for time-series analysis
+both in the time and spectral domains, a set of container objects to represent
+time-series, and auxiliary objects that expose a high level interface to the
+numerical machinery.")
+ (license license:bsd-3)))
- 15/32: gnu: Add python-pytest-harvest., (continued)
- 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
- 17/32: gnu: python-pooch: Update to 1.6.0., guix-commits, 2022/02/16
- 19/32: gnu: Add python-pymatreader., guix-commits, 2022/02/16
- 28/32: gnu: Add python-pyvista., guix-commits, 2022/02/16
- 05/32: gnu: Add python-nitime.,
guix-commits <=