[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/46: gnu: Add python-ginga.
From: |
guix-commits |
Subject: |
43/46: gnu: Add python-ginga. |
Date: |
Tue, 27 Feb 2024 17:55:23 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 489bdbb87e202681757ca255c5c24859d4a0c43c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed Feb 14 14:56:39 2024 +0000
gnu: Add python-ginga.
* gnu/packages/astronomy.scm (python-ginga, ginga-qt5): New variables.
Change-Id: I51358b4b64241c78f4bbc7fa16fdd2721ddc0d28
---
gnu/packages/astronomy.scm | 57 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 03d43e5a06..282fd1ebb4 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -706,6 +706,63 @@ CFITSIO library. Among other things, it can
series in Python.")
(license license:bsd-2)))
+(define-public python-ginga
+ (package
+ (name "python-ginga")
+ (version "4.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "ginga" version))
+ (sha256
+ (base32 "0w60w9d2yqhbmggp0dljj5a0sk07gywifjq8nzw3y2v47vzgwqb6"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list ;;python-exifread ; optional, not packed yet in Guix
+ python-astropy
+ python-astroquery
+ python-dateutil
+ python-magic
+ python-matplotlib
+ python-fitsio
+ python-numpy
+ python-photutils
+ python-pillow
+ python-qtpy
+ python-scipy))
+ (native-inputs
+ (list python-attrs
+ python-docutils
+ python-pytest-astropy
+ python-semantic-version
+ python-tornado))
+ (home-page "https://ejeschke.github.io/ginga/")
+ (synopsis "Scientific image viewer and toolkit for FITS files")
+ (description "Ginga is a toolkit designed for building viewers for
+scientific image data in Python, visualizing 2D pixel data in numpy arrays. It
+can view astronomical data such as contained in files based on the
+FITS (Flexible Image Transport System) file format. It is written and is
+maintained by software engineers at the National Astronomical Observatory of
+Japan (NAOJ), the Space Telescope Science Institute (STScI), and other
+contributing entities.
+
+The Ginga toolkit centers around an image display object which supports zooming
+and panning, color and intensity mapping, a choice of several automatic cut
+levels algorithms and canvases for plotting scalable geometric forms. In
+addition to this widget, a general purpose \"reference\" FITS viewer is
+provided, based on a plugin framework. A fairly complete set of standard
plugins
+are provided for features that we expect from a modern FITS viewer: panning and
+zooming windows, star catalog access, cuts, star pick/FWHM, thumbnails, etc.")
+(license license:bsd-3)))
+
+(define-public ginga-qt5
+ (package/inherit python-ginga
+ (name "ginga-qt5")
+ (inputs
+ (modify-inputs (package-inputs python-ginga)
+ (prepend python-pyqt)))
+ (synopsis "Qt5 image viewer build based on python-ginga library")))
+
(define-public qfits
(package
(name "qfits")
- 16/46: gnu: python-asdf-wcs-schemas: Update to 0.3.0., (continued)
- 16/46: gnu: python-asdf-wcs-schemas: Update to 0.3.0., guix-commits, 2024/02/27
- 18/46: gnu: python-h5netcdf: Update to 1.3.0., guix-commits, 2024/02/27
- 20/46: gnu: python-pysynphot: Update to 2.0.0-0.54e9e2a., guix-commits, 2024/02/27
- 26/46: gnu: python-stdatamodels: Update to 1.9.1., guix-commits, 2024/02/27
- 32/46: gnu: python-photutils: Speed up tests, guix-commits, 2024/02/27
- 39/46: gnu: python-poliastro: Relax requirements., guix-commits, 2024/02/27
- 29/46: gnu: python-asdf: Speed up tests., guix-commits, 2024/02/27
- 35/46: gnu: python-roman-datamodels: Speed up tests., guix-commits, 2024/02/27
- 41/46: gnu: Add python-sunpy-soar., guix-commits, 2024/02/27
- 36/46: gnu: python-spectral-cube: Speed up tests., guix-commits, 2024/02/27
- 43/46: gnu: Add python-ginga.,
guix-commits <=
- 21/46: gnu: python-pysynphot: Improve package style., guix-commits, 2024/02/27
- 45/46: gnu: python-stcal: Update to 1.6.0., guix-commits, 2024/02/27
- 25/46: gnu: python-skyfield: Update to 1.48., guix-commits, 2024/02/27
- 42/46: gnu: Add python-radiospectra., guix-commits, 2024/02/27
- 38/46: gnu: python-astroml: Ignore some failing tests., guix-commits, 2024/02/27
- 37/46: gnu: python-sunpy: Speed up tests and relax requirements., guix-commits, 2024/02/27
- 24/46: gnu: python-rad: Enable tests., guix-commits, 2024/02/27
- 31/46: gnu: python-asdf-coordinates-schemas: Speed up tests., guix-commits, 2024/02/27
- 34/46: gnu: python-regions: Speed up tests., guix-commits, 2024/02/27
- 44/46: gnu: python-drizzle: Update to 1.15.0., guix-commits, 2024/02/27