gnu: Add python-pysynphot.
* gnp/packages/astronomy.scm (python-pysynphot): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
f9b8f38908
commit
b08be61a02
1 changed files with 32 additions and 0 deletions
|
@ -2687,6 +2687,38 @@ astrophysical simulations supporting PKDGRAV/Gasoline, Gadget, Gadget4/Arepo,
|
||||||
N-Chilada and RAMSES AMR outputs.")
|
N-Chilada and RAMSES AMR outputs.")
|
||||||
(license license:gpl3+)))
|
(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
|
(define-public python-sep
|
||||||
(package
|
(package
|
||||||
(inherit libsep)
|
(inherit libsep)
|
||||||
|
|
Reference in a new issue