summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <[email protected]>2025-01-19 22:51:41 +0000
committerSharlatan Hellseher <[email protected]>2025-01-29 23:04:31 +0000
commiteaf76118bbf9d470371bdbbe45425a4895db2086 (patch)
tree4e8aa18c1c5ae587bc7b5b28f9e2e9ff7f5ad353 /gnu
parent7a3bb5b1c6dfe7776e96d777d442b8868794ba5f (diff)
gnu: Add python-pixell.
* gnu/packages/astronomy.scm (python-pixell): New variable. Change-Id: If854e44edbfccf8dfb03b5354893196ef9b1b789
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm43
1 files changed, 43 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 4057feac8f..c4d7936e3d 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -39,6 +39,7 @@
#:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages certs)
#:use-module (gnu packages check)
#:use-module (gnu packages cmake)
@@ -2934,6 +2935,48 @@ semi-analytic models, to cosmological hydrodynamic simulations, and even
observationally-derived galaxy merger catalogs.")
(license license:expat)))
+(define-public python-pixell
+ (package
+ (name "python-pixell")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pixell" version))
+ (sha256
+ (base32 "11xd0ld329vr3spg5nzszn0bxzahnvkrh2akkd7qff33ndf75hkk"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list gfortran
+ meson-python
+ perl ; fortran/Makefile
+ pkg-config
+ python-cython
+ python-pytest))
+ (propagated-inputs
+ (list python-astropy
+ python-coveralls
+ python-cython ; check why it needs in installation
+ python-dateutil
+ python-ducc0
+ python-h5py
+ python-healpy
+ python-matplotlib
+ python-numba
+ python-numpy
+ python-pillow
+ python-pyyaml
+ python-scipy))
+ (home-page "https://pixell.readthedocs.io/")
+ (synopsis "Tectangular pixel map manipulation and harmonic analysis")
+ (description
+ "pixell is a library for loading, manipulating and analyzing maps stored
+in rectangular pixelization. It is mainly intended for use with maps of the
+sky (e.g. CMB intensity and polarization maps, stacks of 21 cm intensity maps,
+binned galaxy positions or shear) in cylindrical projection, but its core
+functionality is more general.")
+ (license license:bsd-3)))
+
(define-public python-pvextractor
(package
(name "python-pvextractor")