[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/19: gnu: Add python-ndcube.
From: |
guix-commits |
Subject: |
10/19: gnu: Add python-ndcube. |
Date: |
Wed, 24 Jan 2024 17:28:03 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit a75c4114f8b01bfe79c85df86b8a0bcbfe6a9677
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Jan 14 23:08:13 2024 +0000
gnu: Add python-ndcube.
* 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 @@ of dates.")
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")
- branch master updated (2266754382 -> 8f86cbd5e9), guix-commits, 2024/01/24
- 05/19: gnu: python-crds: Update to 11.17.14., guix-commits, 2024/01/24
- 01/19: gnu: stellarium: Update to 23.4., guix-commits, 2024/01/24
- 02/19: gnu: indi-2.0: Update to 2.0.5., guix-commits, 2024/01/24
- 06/19: gnu: python-drms: Update to 0.7.1., guix-commits, 2024/01/24
- 07/19: gnu: python-pyvo: Update to 1.5., guix-commits, 2024/01/24
- 10/19: gnu: Add python-ndcube.,
guix-commits <=
- 12/19: gnu: Add python-specutils., guix-commits, 2024/01/24
- 13/19: gnu: python-synphot: Enable more options., guix-commits, 2024/01/24
- 03/19: gnu: gpredict: Update home-page and description., guix-commits, 2024/01/24
- 14/19: gnu: python-tweakwcs: Update to 0.8.6., guix-commits, 2024/01/24
- 15/19: gnu: python-skyfield: Update to 1.47., guix-commits, 2024/01/24
- 16/19: gnu: python-stsynphot: Fix build., guix-commits, 2024/01/24
- 18/19: gnu: stackistry: Use G-Expressions., guix-commits, 2024/01/24
- 19/19: gnu: libnova: Use G-Expressions., guix-commits, 2024/01/24
- 04/19: gnu: libxisf: Update to 0.2.11., guix-commits, 2024/01/24
- 11/19: gnu: Add python-dust-extinction., guix-commits, 2024/01/24