[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#68641] [PATCH 10/19] gnu: Add python-ndcube.
From: |
Sharlatan Hellseher |
Subject: |
[bug#68641] [PATCH 10/19] gnu: Add python-ndcube. |
Date: |
Sun, 21 Jan 2024 16:53:50 +0000 |
* gnu/packages/astronomy.scm (python-ndcube): New variable.
Change-Id: I94087c7e02ca678531bcbf4eb3d035e2647768fd
---
gnu/packages/astronomy.scm | 49 ++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d757fc75d9..1a11aac534 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2076,6 +2076,55 @@ (define-public python-mpl-animators
the easy construction of interactive matplotlib widget based animations.")
(license license:bsd-3)))
+(define-public python-ndcube
+ (package
+ (name "python-ndcube")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ndcube" version))
+ (sha256
+ (base32 "1b3vbnm438j5jb48vilp145lq137fbrg1l4845rc55mz2p025x34"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'set-home-env
+ (lambda _
+ ;; Tests require HOME to be set.
+ ;; Permission denied: '/homeless-shelter'
+ (setenv "HOME" "/tmp"))))))
+ (propagated-inputs
+ (list python-astropy
+ python-gwcs
+ python-matplotlib
+ python-mpl-animators
+ python-numpy
+ python-reproject))
+ (native-inputs
+ (list python-dask
+ python-pytest
+ python-pytest-astropy
+ python-pytest-mpl
+ python-scipy
+ python-setuptools-scm
+ python-sunpy))
+ (home-page "https://docs.sunpy.org/projects/ndcube/")
+ (synopsis "Multi-dimensional contiguous and non-contiguous coordinate
aware arrays")
+ (description
+ "@code{ndcube} is a package for manipulating, inspecting and visualizing
+multi-dimensional contiguous and non-contiguous coordinate-aware data arrays.
+
+It combines data, uncertainties, units, metadata, masking, and coordinate
+transformations into classes with unified slicing and generic coordinate
+transformations and plotting/animation capabilities. It is designed to handle
+data of any number of dimensions and axis types (e.g. spatial, temporal,
+spectral, etc.) whose relationship between the array elements and the real
world
+can be described by @acronym{WCS, World Coordinate System} translations.")
+ (license license:bsd-2)))
+
(define-public python-photutils
(package
(name "python-photutils")
--
2.41.0
- [bug#68641] [PATCH 09/19] gnu: python-sunpy: Update to 5.1.1., (continued)
- [bug#68641] [PATCH 09/19] gnu: python-sunpy: Update to 5.1.1., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 05/19] gnu: python-crds: Update to 11.17.14., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 04/19] gnu: libxisf: Update to 0.2.11., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 14/19] gnu: python-tweakwcs: Update to 0.8.6., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 11/19] gnu: Add python-dust-extinction., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 12/19] gnu: Add python-specutils., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 08/19] gnu: python-stcal: Update to 1.5.2., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 07/19] gnu: python-pyvo: Update to 1.5., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 15/19] gnu: python-skyfield: Update to 1.47., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 10/19] gnu: Add python-ndcube.,
Sharlatan Hellseher <=
- [bug#68641] [PATCH 16/19] gnu: python-stsynphot: Fix build., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 13/19] gnu: python-synphot: Enable more options., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 02/19] gnu: indi-2.0: Update to 2.0.5., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 17/19] gnu: libpasastro: Use G-Expressions., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 18/19] gnu: stackistry: Use G-Expressions., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 19/19] gnu: libnova: Use G-Expressions., Sharlatan Hellseher, 2024/01/21
- [bug#68641] [PATCH 00/19] gnu: Astronomy 2024/01 updates., Maxim Cournoyer, 2024/01/24
- [bug#68641] [PATCH 17/19] gnu: libpasastro: Use G-Expressions., Sharlatan Hellseher, 2024/01/24