guix_mirror_bot pushed a commit to branch astro-updates
in repository guix.

commit a9ff8d0ba33fd41026ea32b0f3b93d3d63b79fa7
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Oct 17 09:28:31 2025 +0100

    gnu: Add python-ctapipe.
    
    * gnu/packages/astronomy.scm (python-ctapipe): New variable.
    
    Change-Id: I248d51058b3f62968542ec2431af06648f9e8d7c
---
 gnu/packages/astronomy.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 3efe8ac96b..45b354832a 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3907,6 +3907,54 @@ has web sites corresponding to each project 
@url{http://hst-crds.stsci.edu} or
 files and provide related services.")
     (license license:bsd-3)))
 
+(define-public python-ctapipe
+  (package
+    (name "python-ctapipe")
+    (version "0.27.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ctapipe" version))
+       (sha256
+        (base32 "0flcrq6agmvpfb3wbixrmsizsna5vinb5w9k9r3vrx3i7hx2zfld"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; TODO: The most of the tests require external data, check if it may be
+      ;; packaged of some portion of unit test may be run without it.
+      #:tests? #f))
+    (native-inputs
+     (list python-setuptools
+           python-setuptools-scm))
+    (propagated-inputs
+     (list python-astropy
+           python-docutils
+           python-joblib
+           python-numba
+           python-numpy
+           python-packaging
+           python-psutil
+           python-pyyaml
+           python-requests
+           python-scikit-learn
+           python-scipy
+           python-tables
+           python-tqdm
+           python-traitlets
+           ;; [poptional]
+           python-bokeh
+           python-eventio
+           ;; python-iminuit ;see guix/guix#2381
+           python-matplotlib
+           python-pyirf))
+    (home-page "https://github.com/cta-observatory/ctapipe/";)
+    (synopsis "Low-level data processing pipeline software for CTAO")
+    (description
+     "Event reconstruction framework for Imaging Atmospheric Cherenkov
+Telescopes developed for @acronym{CTAO, Cherenkov Telescope Array
+Observatory}.")
+    (license license:bsd-3)))
+
 (define-public python-czml3
   (package
     (name "python-czml3")

Reply via email to