[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/26: gnu: Add python-stsynphot.
From: |
guix-commits |
Subject: |
14/26: gnu: Add python-stsynphot. |
Date: |
Wed, 14 Jun 2023 07:58:53 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 3a952dc04c980df43f9cbf1eacb2fb550e506e38
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue May 30 20:58:39 2023 +0100
gnu: Add python-stsynphot.
* gnu/packages/astronomy.scm (python-stsynphot): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/astronomy.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d82ff7c91f..af35b75e8f 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2122,6 +2122,40 @@ task}.")
image processing functions: @code{xyxymatch}, @code{geomap}.")
(license license:bsd-3)))
+(define-public python-stsynphot
+ (package
+ (name "python-stsynphot")
+ (version "1.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "stsynphot" version))
+ (sha256
+ (base32
+ "0qkdh47j84v7fzri7bmi1jcmggdqq0a8byamfm73d8mbz86v8sn4"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; XXX: Tests fails on missing file, it might need to be downloaded,
+ ;; disable them for now. astropy.utils.exceptions.AstropyUserWarning:
+ ;; Failed to load Vega spectrum from
+ ;; /grp/redcat/trds/calspec/alpha_lyr_stis_010.fits;
+ #:tests? #f))
+ (propagated-inputs (list python-astropy
+ python-beautifulsoup4
+ python-matplotlib
+ python-numpy
+ python-scipy
+ python-synphot))
+ (native-inputs (list python-pytest python-pytest-astropy
+ python-pytest-astropy-header python-setuptools-scm))
+ (home-page "https://github.com/spacetelescope/stsynphot_refactor")
+ (synopsis "Synthetic photometry using Astropy for HST and JWST")
+ (description
+ "This package provides a replacement for IRAF STSDAS SYNPHOT and ASTROLIB
+PYSYNPHOT, utilizing Astropy covering instrument specific portions of the old
+packages for HST.")
+ (license license:bsd-3)))
+
(define-public libnova
(package
(name "libnova")
- 16/26: gnu: Add python-crds., (continued)
- 16/26: gnu: Add python-crds., guix-commits, 2023/06/14
- 22/26: gnu: Add python-stcal., guix-commits, 2023/06/14
- 01/26: gnu: opencv: Fix building on riscv64-linux., guix-commits, 2023/06/14
- 07/26: gnu: Add python-rad., guix-commits, 2023/06/14
- 08/26: gnu: Add python-roman-datamodels., guix-commits, 2023/06/14
- 11/26: gnu: Add python-stsci-stimage., guix-commits, 2023/06/14
- 13/26: gnu: Add python-synphot., guix-commits, 2023/06/14
- 19/26: gnu: Add python-bayesicfitting., guix-commits, 2023/06/14
- 23/26: gnu: Add python-jwst., guix-commits, 2023/06/14
- 26/26: gnu: python-blosc: Enable tests., guix-commits, 2023/06/14
- 14/26: gnu: Add python-stsynphot.,
guix-commits <=
- 17/26: gnu: Add python-stdatamodels., guix-commits, 2023/06/14
- 18/26: gnu: Add python-stpipe., guix-commits, 2023/06/14
- 20/26: gnu: Add python-wiimatch., guix-commits, 2023/06/14
- 21/26: gnu: Add python-drizzle., guix-commits, 2023/06/14
- 25/26: gnu: python-blosc: Update to 1.11.1., guix-commits, 2023/06/14
- 24/26: gnu: python-blosc: Build with packaged blosc., guix-commits, 2023/06/14