guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/26: gnu: Add python-stsci-imagestats.


From: guix-commits
Subject: 10/26: gnu: Add python-stsci-imagestats.
Date: Wed, 14 Jun 2023 07:58:53 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 995443acacea93b3cec5aca364189c14aa370ea1
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue May 30 20:58:35 2023 +0100

    gnu: Add python-stsci-imagestats.
    
    * gnu/packages/astronomy.scm (python-stsci-imagestats): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/astronomy.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 80bf8a68f8..cba285816e 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2073,6 +2073,31 @@ spherical polygons that represent arbitrary regions of 
the sky.")
 Science Institute} image array manipulation functions.")
     (license license:bsd-3)))
 
+(define-public python-stsci-imagestats
+  (package
+    (name "python-stsci-imagestats")
+    (version "1.6.3")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "stsci.imagestats" version))
+              (sha256
+               (base32
+                "14457izlbnks84dyza75ib3nvx2w8nhlqm9vc1zb7hbhknb5gjvw"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:tests? #f)) ;No tests
+    (propagated-inputs (list python-numpy))
+    (native-inputs (list python-setuptools-scm))
+    (home-page "https://stsciimagestats.readthedocs.io/en/latest/";)
+    (synopsis "Compute sigma-clipped statistics on data arrays")
+    (description
+     "@code{stsci.imagestats} is a package designed to compute various
+statistics on image data using sigma-clipping iterations.  It is designed to
+replicate core behaviour of the IRAF's
+@url{http://stsdas.stsci.edu/cgi-bin/gethelp.cgi?imstatistics, imstatistics
+task}.")
+    (license license:bsd-3)))
+
 (define-public libnova
   (package
     (name "libnova")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]