[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66454] [PATCH 4/5] gnu: Add python-aplpy.
From: |
Sharlatan Hellseher |
Subject: |
[bug#66454] [PATCH 4/5] gnu: Add python-aplpy. |
Date: |
Wed, 11 Oct 2023 02:39:34 +0100 |
* gnu/packages/astronomy.scm (python-aplpy): New variable.
---
gnu/packages/astronomy.scm | 54 ++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 684324c589..15ab071ed7 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -493,6 +493,60 @@ (define-public cfitsio
(license (license:non-copyleft "file://License.txt"
"See License.txt in the distribution."))))
+(define-public python-aplpy
+ (package
+ (name "python-aplpy")
+ (version "2.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "aplpy" version))
+ (sha256
+ (base32 "0ph9jhv4q4i4z6nkqr6hjw9148kdlnayxsn83qgv5dqn0h3nc9r8"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list python-astropy
+ python-matplotlib
+ python-numpy
+ python-pillow
+ python-pyavm
+ python-pyregion
+ python-reproject
+ python-scikit-image
+ python-shapely))
+ (native-inputs
+ (list python-pytest-astropy
+ python-pytest-mpl
+ python-semantic-version))
+ (home-page "http://aplpy.github.io")
+ (synopsis "Astronomical Plotting Library in Python")
+ (description
+ "@acronym{APLpy, the Astronomical Plotting Library in Python} is a Python
+module aimed at producing publication-quality plots of astronomical imaging
data
+in FITS format. The module uses @code{matplotlib}, a powerful and interactive
+plotting package. It is capable of creating output files in several graphical
+formats, including EPS, PDF, PS, PNG, and SVG.
+
+Main features:
+@itemize
+@item Make plots interactively or using scripts
+@item Show grayscale, colorscale, and 3-color RGB images of FITS files
+@item Generate co-aligned FITS cubes to make 3-color RGB images
+@item Make plots from FITS files with arbitrary WCS (e.g. position-velocity)
+@item Slice multi-dimensional FITS cubes
+@item Overlay any number of contour sets
+@item Overlay markers with fully customizable symbols
+@item Plot customizable shapes like circles, ellipses, and rectangles
+@item Overlay ds9 region files
+@item Overlay coordinate grids
+@item Show colorbars, scalebars, and beams
+@item Customize the appearance of labels and ticks
+@item Hide, show, and remove different contour and marker layers
+@item Pan, zoom, and save any view as a full publication-quality plot
+@item Save plots as EPS, PDF, PS, PNG, and SVG
+@end itemize")
+ (license license:expat)))
+
(define-public python-astroml
(package
(name "python-astroml")
--
2.41.0
- [bug#66454] [PATCH 0/5] gnu: Add python-spectral-cube, Sharlatan Hellseher, 2023/10/10
- [bug#66454] [PATCH 2/5] gnu: Add python-pyavm., Sharlatan Hellseher, 2023/10/10
- [bug#66454] [PATCH 4/5] gnu: Add python-aplpy.,
Sharlatan Hellseher <=
- [bug#66454] [PATCH 3/5] gnu: Add python-pyregion., Sharlatan Hellseher, 2023/10/10
- [bug#66454] [PATCH 5/5] gnu: Add python-spectral-cube., Sharlatan Hellseher, 2023/10/10
- [bug#66454] [PATCH 1/5] gnu: Add python-radio-beam., Sharlatan Hellseher, 2023/10/10
- [bug#66454], Sharlatan Hellseher, 2023/10/15
- [bug#66454], Sharlatan Hellseher, 2023/10/21
- [bug#66454], Sharlatan Hellseher, 2023/10/27