[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63806] [PATCH 01/18] gnu: Add python-pysynshot.
From: |
Sharlatan Hellseher |
Subject: |
[bug#63806] [PATCH 01/18] gnu: Add python-pysynshot. |
Date: |
Tue, 30 May 2023 20:58:31 +0100 |
* gnp/packages/astronomy.scm (python-pysynshot): New variable.
---
gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 964e72642c..5429cceeae 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -2687,6 +2687,38 @@ (define-public python-pynbody
N-Chilada and RAMSES AMR outputs.")
(license license:gpl3+)))
+(define-public python-pysynphot
+ (package
+ (name "python-pysynphot")
+ (version "2.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pysynphot" version))
+ (sha256
+ (base32
+ "1rr29m63bnj47f6gvbvg3pm1296x14ad29c6qd0sdj4f4ilrzhj5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-before 'check 'set-env-data-path
+ (lambda _
+ (setenv "PYSYN_CDBS"
+ (string-append #$output "/crds")))))))
+ (native-inputs (list python-pytest python-pytest-remotedata
+ python-setuptools-scm))
+ (propagated-inputs (list python-astropy python-beautifulsoup4 python-numpy
+ python-pytest-astropy-header python-six))
+ (home-page "https://github.com/spacetelescope/pysynphot")
+ (synopsis "Python Synthetic Photometry Utilities")
+ (description
+ "Astrolib PySynphot (hereafter referred to only as pysynphot) is an
+object-oriented replacement for STSDAS SYNPHOT synthetic photometry package in
+IRAF. @code{pysynphot} simulates photometric data and spectra as they are
observed
+with the Hubble Space Telescope (HST). Passbands for standard photometric
+systems are available, and users can incorporate their own filters, spectra,
and
+data.")
+ (license license:bsd-3)))
+
(define-public python-sep
(package
(inherit libsep)
--
2.40.1
- [bug#63806] [PATCH 00/18]: gnu: Add JWST (James Webb Space Telescope), Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 02/18] gnu: Add python-rad., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 01/18] gnu: Add python-pysynshot.,
Sharlatan Hellseher <=
- [bug#63806] [PATCH 04/18] gnu: Add python-stsci-image., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 06/18] gnu: Add python-stsci-stimage., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 03/18] gnu: Add python-roman-datamodels., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 07/18] gnu: Add python-tweakwcs., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 09/18] gnu: Add python-stsynphot., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 08/18] gnu: Add python-synphot., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 05/18] gnu: Add python-stsci-imagestats., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 13/18] gnu: Add python-stpipe., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 11/18] gnu: Add python-crds., Sharlatan Hellseher, 2023/05/30
- [bug#63806] [PATCH 14/18] gnu: Add python-bayesicfitting., Sharlatan Hellseher, 2023/05/30