all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 72741@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>,
	Andreas Enge <andreas@enge.fr>, Eric Bavier <bavier@posteo.net>,
	Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#72741] [PATCH 25/32] gnu: Add python-pyxsim.
Date: Wed, 21 Aug 2024 01:03:27 +0100	[thread overview]
Message-ID: <aa06c084c94a487dc46afcd12942523a9b358207.1724198118.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1724198118.git.sharlatanus@gmail.com>

* gnu/packages/astronomy.scm (python-pyxsim): New variable.

Change-Id: I65be8702f12f26aed6ed9bff9c246ac3400aa1db
---
 gnu/packages/astronomy.scm | 53 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 21de65f8d3..53b50db7cd 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -1196,6 +1196,59 @@ (define-public python-glue-core
 across many files.")
     (license license:bsd-3)))
 
+(define-public python-pyxsim
+  (package
+    (name "python-pyxsim")
+    (version "4.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pyxsim" version))
+       (sha256
+        (base32 "1vviy9hk2z3h0fi6c8207ps5pklsjn0a77pqq6wa4sa1n07clc8i"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list
+      ;; XXX: Tests require additional data, check if it may be packed
+      ;; separately, see tests/ci_install.sh.
+      #:tests? #f
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'set-home
+            (lambda _
+              ;; To address sanity check warning: UserWarning: unable to write
+              ;; new config file.
+              (setenv "HOME" "/tmp"))))))
+    (propagated-inputs
+     (list python-astropy
+           python-h5py
+           python-numpy
+           python-scipy
+           python-soxs
+           python-tqdm
+           python-unyt
+           python-yt))
+    (native-inputs
+     (list python-cython-3
+           python-setuptools-scm))
+    (home-page "https://hea-www.cfa.harvard.edu/~jzuhone/pyxsim/")
+    (synopsis "Simulating X-ray observations from astrophysical sources")
+    (description
+     "pyXSIM is a Python package for simulating X-ray emission from
+astrophysical sources.
+
+X-rays probe the high-energy universe, from hot galaxy clusters to compact
+objects such as neutron stars and black holes and many interesting sources in
+between.  pyXSIM makes it possible to generate synthetic X-ray observations of
+these sources from a wide variety of models, whether from grid-based
+simulation codes such as FLASH, Enzo, and Athena, to particle-based codes such
+as Gadget and AREPO, and even from datasets that have been created “by
+hand”,such as from NumPy arrays.  pyXSIM also provides facilities for
+manipulating the synthetic observations it produces in various ways, as well
+as ways to export the simulated X-ray events to other software packages to
+simulate the end products of specific X-ray observatories.")
+    (license license:bsd-3)))
+
 (define-public python-sncosmo
   (package
     (name "python-sncosmo")
-- 
2.41.0





  parent reply	other threads:[~2024-08-21  0:07 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-21  0:01 [bug#72741] [PATCH 00/32] Astronomy update 2024/08 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 01/32] gnu: indi-2.0: Adjust package style Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 02/32] gnu: indi-2.0: Update to 2.0.9 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 03/32] gnu: python-astroplan: Update to 0.10.1 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 04/32] gnu: python-astropy-iers-data: Update to 0.2024.8.12.0.32.58 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 05/32] gnu: python-astropy: Update to 6.1.2 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 06/32] gnu: python-crds: Update to 11.18.1 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 07/32] gnu: python-czml3: Update to 1.0.2 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 08/32] gnu: python-drms: Update to 0.8.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 09/32] gnu: python-dust-extinction: Update to 1.5 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 10/32] gnu: python-glue-core: Adjust inputs Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 11/32] gnu: python-glymur: Update to 0.13.5 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 12/32] gnu: python-mpl-animators: Update to 1.2.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 13/32] gnu: python-rad: Update to 0.21.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 14/32] gnu: python-radiospectra: Update to 0.6.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 15/32] gnu: python-reproject: Update to 0.14.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 16/32] gnu: python-roman-datamodels: Update to 0.21.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 17/32] gnu: python-specutils: Update to 1.16.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 18/32] gnu: python-shapely: Update to 2.0.5 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 19/32] gnu: python-shapely: Adjust home page Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 20/32] gnu: python-stcal: Update to 1.8.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 21/32] gnu: python-stpipe: Update to 0.7.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 22/32] gnu: python-sunpy: Update to 6.0.1 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 23/32] gnu: python-viresclient: Update to 0.12.0 Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 24/32] gnu: Add python-soxs Sharlatan Hellseher
2024-08-21  0:03 ` Sharlatan Hellseher [this message]
2024-08-21  0:03 ` [bug#72741] [PATCH 26/32] gnu: Add python-specreduce Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 27/32] gnu: Add python-glue-astronomy Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 28/32] gnu: Add python-pvextractor Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 29/32] gnu: Add python-glue-qt Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 30/32] gnu: Add python-sunkit-image Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 31/32] gnu: Add python-zodipy Sharlatan Hellseher
2024-08-21  0:03 ` [bug#72741] [PATCH 32/32] gnu: python-sunkit-image: Disable more failing tests Sharlatan Hellseher
2024-08-27 16:06 ` bug#72741: [PATCH 00/32] Astronomy update 2024/08 Sharlatan Hellseher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa06c084c94a487dc46afcd12942523a9b358207.1724198118.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=72741@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    --cc=bavier@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.