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

commit 6b707e38891f5dc170eb2d058744ed2bcd878bbd
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Mar 17 16:23:15 2026 +0000

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

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5af17f96b1..21963cf95f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -4796,6 +4796,51 @@ numerical python, statistics, and file input/output.  
Includes specialized
 tools for astronomers.")
     (license license:gpl2+)))
 
+(define-public python-euclidlike
+  (package
+    (name "python-euclidlike")
+    ;; No PyPI release or Git version tags, use the latest commit.
+    (properties '((commit . "55d47fb67aba7c149a6099d89dd7ee0b00305341")
+                  (revision . "0")))
+    (version (git-version "0.9.0"
+                          (assoc-ref properties 'revision)
+                          (assoc-ref properties 'commit)))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/GalSim-developers/GalSim-Euclid-Like";)
+              (commit (assoc-ref properties 'commit))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0cyzwbiiwmwj6qy4xpsszzqp97azjwjvqxlnwpadshnqbbq4skcb"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-pytest-xdist
+           python-setuptools))
+    (propagated-inputs
+     (list python-astropy
+           python-galsim
+           python-numpy))
+    (home-page "https://galsim-developers.github.io/GalSim-Euclid-Like/";)
+    (synopsis "Helper functions to generate simulations of Euclid-Like images")
+    (description
+     "This package provides information about the Euclid space telescope and
+survey that is needed to produce simulations using GalSim.  Some of the
+information provided is approximate, aimed towards fast simulations rather
+than full accuracy in representation of Euclid images.  Places where the
+information is only approximate are flagged and described in the docstring,
+and we particularly highlight that the PSF is only approximate; for details,
+see the docstring of the @code{getPSF()} method.  This library should enable
+generation of Euclid-like images of sufficient fidelity for preliminary
+exploration of object detection, photometry, deblending, and joint analysis
+with ground-based observatories.  For applications requiring high precision
+such as weak lensing, the higher fidelity simulations available within the
+Euclid Consortium should be used.")
+    ;; license = {text = "GalSim"}
+    (license license:bsd-3)))
+
 (define-public python-eventio
   (package
     (name "python-eventio")

Reply via email to