From d113d457d3777b924a5ff1c40b98ad4720c9b1f5 Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Thu, 20 Jan 2022 19:12:02 +0100 Subject: [PATCH 05/18] gnu: Add python-nitime. * gnu/packages/python-science.scm (python-nitime): New variable. --- gnu/packages/python-science.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index a79aacec03..fb14aff62f 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1176,3 +1176,33 @@ (define-public python-nibabel 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)) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'delete-generated-cython + (lambda _ + (delete-file "nitime/_utils.c")))))) + (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 and make common analysis tasks easy +to express with compact and semantically clear code.") + (license license:bsd-3))) -- 2.34.0