mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: packages/astronomy: Sort.
* gnu/packages/astronomy.scm: (python-asdf-wcs-schemas, python-photutils, python-sbpy, and python-sgp4): Sort variables alphabetically. Change-Id: I6466c5de3323a11f63f34b09d10e91ee9a3e1037
This commit is contained in:
parent
fd67cb90c3
commit
8a1f56cf87
1 changed files with 177 additions and 177 deletions
|
@ -2011,6 +2011,40 @@ implementation package such as asdf-astropy.")
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(propagated-inputs '()))))
|
(propagated-inputs '()))))
|
||||||
|
|
||||||
|
(define-public python-asdf-wcs-schemas
|
||||||
|
(hidden-package
|
||||||
|
(package
|
||||||
|
(name "python-asdf-wcs-schemas")
|
||||||
|
(version "0.5.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "asdf_wcs_schemas" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1dar2pzf2plwyl1rbmnv8fqvx1ljgpf3z39d4ybmn690djjdsyxg"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags #~(list "tests")))
|
||||||
|
(native-inputs
|
||||||
|
(list python-asdf
|
||||||
|
python-pytest
|
||||||
|
python-pytest-openfiles
|
||||||
|
python-setuptools-next
|
||||||
|
python-setuptools-scm
|
||||||
|
python-wheel))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-asdf-coordinates-schemas
|
||||||
|
python-asdf-standard
|
||||||
|
python-asdf-transform-schemas))
|
||||||
|
(home-page "https://github.com/asdf-format/asdf-wcs-schemas")
|
||||||
|
(synopsis "ASDF WCS Schemas")
|
||||||
|
(description
|
||||||
|
"This package provides ASDF schemas for validating World Coordinate
|
||||||
|
System (WCS) tags. Users should not need to install this directly; instead,
|
||||||
|
install an implementation package such as gwcs.")
|
||||||
|
(license license:bsd-3))))
|
||||||
|
|
||||||
(define-public python-asdf-zarr
|
(define-public python-asdf-zarr
|
||||||
(package
|
(package
|
||||||
(name "python-asdf-zarr")
|
(name "python-asdf-zarr")
|
||||||
|
@ -5359,6 +5393,54 @@ profiles. In particular, PetroFit includes tools for performing accurate
|
||||||
photometry, segmentations, Petrosian profiling, and Sérsic fitting.")
|
photometry, segmentations, Petrosian profiling, and Sérsic fitting.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
(define-public python-photutils
|
||||||
|
(package
|
||||||
|
(name "python-photutils")
|
||||||
|
(version "2.2.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "photutils" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1h1bf8694pf9qdv9gf0934v6dk08d3ybrj858salqnfz6prnfnzb"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags
|
||||||
|
#~(list "--pyargs" "photutils"
|
||||||
|
"--numprocesses" (number->string (min 8 (parallel-job-count))))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(with-directory-excursion "/tmp"
|
||||||
|
(apply invoke "pytest" "-vv" test-flags))))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-astropy
|
||||||
|
python-bottleneck
|
||||||
|
python-gwcs
|
||||||
|
python-matplotlib
|
||||||
|
python-numpy
|
||||||
|
python-rasterio
|
||||||
|
python-regions
|
||||||
|
python-scikit-image
|
||||||
|
python-scipy
|
||||||
|
python-shapely
|
||||||
|
python-tqdm))
|
||||||
|
(native-inputs
|
||||||
|
(list python-cython-3
|
||||||
|
python-extension-helpers
|
||||||
|
python-pytest-astropy
|
||||||
|
python-pytest-xdist
|
||||||
|
python-setuptools
|
||||||
|
python-setuptools-scm))
|
||||||
|
(home-page "https://github.com/astropy/photutils")
|
||||||
|
(synopsis "Source detection and photometry")
|
||||||
|
(description "Photutils is an Astropy package for detection and photometry
|
||||||
|
of astronomical sources.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python-pint-pulsar
|
(define-public python-pint-pulsar
|
||||||
(package
|
(package
|
||||||
(name "python-pint-pulsar")
|
(name "python-pint-pulsar")
|
||||||
|
@ -6142,6 +6224,69 @@ PSF} describing how the optical system spreads light from sources.")
|
||||||
observations from the Nancy Grace Roman Space Telescope.")
|
observations from the Nancy Grace Roman Space Telescope.")
|
||||||
(license license:bsd-3))))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
|
(define-public python-sbpy
|
||||||
|
(package
|
||||||
|
(name "python-sbpy")
|
||||||
|
(version "0.5.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "sbpy" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "1xqi29rrh7v05zmvyl8gffrkrw5rlcxig1w6xw1v8f7ikydb5plv"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags
|
||||||
|
#~(list "--numprocesses" (number->string (parallel-job-count)))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-before 'check 'set-home-env
|
||||||
|
(lambda _
|
||||||
|
;; Tests require HOME to be set.
|
||||||
|
;; No such file or directory: '/homeless-shelter/.astropy'
|
||||||
|
(setenv "HOME" "/tmp"))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-ads
|
||||||
|
python-astropy
|
||||||
|
python-astroquery
|
||||||
|
python-ginga
|
||||||
|
python-numpy
|
||||||
|
python-photutils
|
||||||
|
;python-pyoorb ;not packed yet in Guix
|
||||||
|
python-pyyaml
|
||||||
|
python-scipy
|
||||||
|
python-synphot))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-pytest-astropy
|
||||||
|
python-pytest-doctestplus
|
||||||
|
python-pytest-remotedata
|
||||||
|
python-pytest-xdist
|
||||||
|
python-setuptools-scm))
|
||||||
|
(home-page "https://sbpy.org")
|
||||||
|
(synopsis "Python module for small-body planetary astronomy")
|
||||||
|
(description
|
||||||
|
"@code{sbpy} is a package for small-body planetary astronomy. It is
|
||||||
|
meant to supplement functionality provided by @code{astropy} with functions
|
||||||
|
and methods that are frequently used in the context of planetary astronomy
|
||||||
|
with a clear focus on asteroids and comets.
|
||||||
|
Features:
|
||||||
|
@itemize
|
||||||
|
@item observation planning tools tailored to moving objects
|
||||||
|
@item photometry models for resolved and unresolved observations
|
||||||
|
@item wrappers and tools for astrometry and orbit fitting
|
||||||
|
@item spectroscopy analysis tools and models for reflected solar light and
|
||||||
|
emission from gas
|
||||||
|
@item cometary gas and dust coma simulation and analysis tools
|
||||||
|
@item asteroid thermal models for flux estimation and size/albedo estimation
|
||||||
|
@item image enhancement tools for comet comae and PSF subtraction tools
|
||||||
|
@item lightcurve and shape analysis tools
|
||||||
|
@item access tools for various databases for orbital and physical data, as
|
||||||
|
well as ephemerides services
|
||||||
|
@end itemize")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python-sep
|
(define-public python-sep
|
||||||
(package/inherit libsep
|
(package/inherit libsep
|
||||||
(name "python-sep")
|
(name "python-sep")
|
||||||
|
@ -6200,6 +6345,38 @@ observations from the Nancy Grace Roman Space Telescope.")
|
||||||
library with bug fixtures.")
|
library with bug fixtures.")
|
||||||
(license (list license:expat license:lgpl3+ license:bsd-3))))
|
(license (list license:expat license:lgpl3+ license:bsd-3))))
|
||||||
|
|
||||||
|
(define-public python-sgp4
|
||||||
|
(package
|
||||||
|
(name "python-sgp4")
|
||||||
|
(version "2.24")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "sgp4" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0ll3gxjf697llh6nvisxnj2h4hl23nq1m24ymsykz8kf4ygj8man"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(native-inputs
|
||||||
|
(list python-setuptools
|
||||||
|
python-wheel))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-numpy))
|
||||||
|
(home-page "https://github.com/brandon-rhodes/python-sgp4")
|
||||||
|
(synopsis "Track earth satellite TLE orbits using SGP4")
|
||||||
|
(description
|
||||||
|
"This package provides a Python implementation for computations of the
|
||||||
|
position and velocity of an earth-orbiting satellite, given the satellite’s
|
||||||
|
@acronym{TLE, Two-line element set} orbital elements from a source like
|
||||||
|
@url{CelesTrak, https://celestrak.org/}.
|
||||||
|
|
||||||
|
It implements the most recent version of @acronym{SGP4, Simplified General
|
||||||
|
Perturbation models}, and is regularly run against the SGP4 test suite to make
|
||||||
|
sure that its satellite position predictions agree to within 0.1 mm with the
|
||||||
|
predictions of the standard distribution of the algorithm. This error is far
|
||||||
|
less than the 1–3 km/day by which satellites themselves deviate from the ideal
|
||||||
|
orbits described in TLE files.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-sirilic
|
(define-public python-sirilic
|
||||||
(package
|
(package
|
||||||
(name "python-sirilic")
|
(name "python-sirilic")
|
||||||
|
@ -6637,54 +6814,6 @@ instruments.")
|
||||||
(license (list license:bsd-3 ; licenses/LICENSE.rst, same as python-astropy
|
(license (list license:bsd-3 ; licenses/LICENSE.rst, same as python-astropy
|
||||||
license:expat)))) ; licenses/KOSMOS_LICENSE
|
license:expat)))) ; licenses/KOSMOS_LICENSE
|
||||||
|
|
||||||
(define-public python-photutils
|
|
||||||
(package
|
|
||||||
(name "python-photutils")
|
|
||||||
(version "2.2.0")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "photutils" version))
|
|
||||||
(sha256
|
|
||||||
(base32 "1h1bf8694pf9qdv9gf0934v6dk08d3ybrj858salqnfz6prnfnzb"))))
|
|
||||||
(build-system pyproject-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:test-flags
|
|
||||||
#~(list "--pyargs" "photutils"
|
|
||||||
"--numprocesses" (number->string (min 8 (parallel-job-count))))
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(replace 'check
|
|
||||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
|
||||||
(when tests?
|
|
||||||
(with-directory-excursion "/tmp"
|
|
||||||
(apply invoke "pytest" "-vv" test-flags))))))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-astropy
|
|
||||||
python-bottleneck
|
|
||||||
python-gwcs
|
|
||||||
python-matplotlib
|
|
||||||
python-numpy
|
|
||||||
python-rasterio
|
|
||||||
python-regions
|
|
||||||
python-scikit-image
|
|
||||||
python-scipy
|
|
||||||
python-shapely
|
|
||||||
python-tqdm))
|
|
||||||
(native-inputs
|
|
||||||
(list python-cython-3
|
|
||||||
python-extension-helpers
|
|
||||||
python-pytest-astropy
|
|
||||||
python-pytest-xdist
|
|
||||||
python-setuptools
|
|
||||||
python-setuptools-scm))
|
|
||||||
(home-page "https://github.com/astropy/photutils")
|
|
||||||
(synopsis "Source detection and photometry")
|
|
||||||
(description "Photutils is an Astropy package for detection and photometry
|
|
||||||
of astronomical sources.")
|
|
||||||
(license license:bsd-3)))
|
|
||||||
|
|
||||||
;; XXX: The project is archived, maintained fork is available see
|
;; XXX: The project is archived, maintained fork is available see
|
||||||
;; <https://github.com/poliastro/poliastro/issues/1640>.
|
;; <https://github.com/poliastro/poliastro/issues/1640>.
|
||||||
;; Maintained fork <https://github.com/pleiszenburg/hapsira>.
|
;; Maintained fork <https://github.com/pleiszenburg/hapsira>.
|
||||||
|
@ -6968,38 +7097,6 @@ re-gridding of images from one world coordinate system to another e.g.
|
||||||
changing the pixel resolution, orientation, coordinate system.")
|
changing the pixel resolution, orientation, coordinate system.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public python-sgp4
|
|
||||||
(package
|
|
||||||
(name "python-sgp4")
|
|
||||||
(version "2.24")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "sgp4" version))
|
|
||||||
(sha256
|
|
||||||
(base32 "0ll3gxjf697llh6nvisxnj2h4hl23nq1m24ymsykz8kf4ygj8man"))))
|
|
||||||
(build-system pyproject-build-system)
|
|
||||||
(native-inputs
|
|
||||||
(list python-setuptools
|
|
||||||
python-wheel))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-numpy))
|
|
||||||
(home-page "https://github.com/brandon-rhodes/python-sgp4")
|
|
||||||
(synopsis "Track earth satellite TLE orbits using SGP4")
|
|
||||||
(description
|
|
||||||
"This package provides a Python implementation for computations of the
|
|
||||||
position and velocity of an earth-orbiting satellite, given the satellite’s
|
|
||||||
@acronym{TLE, Two-line element set} orbital elements from a source like
|
|
||||||
@url{CelesTrak, https://celestrak.org/}.
|
|
||||||
|
|
||||||
It implements the most recent version of @acronym{SGP4, Simplified General
|
|
||||||
Perturbation models}, and is regularly run against the SGP4 test suite to make
|
|
||||||
sure that its satellite position predictions agree to within 0.1 mm with the
|
|
||||||
predictions of the standard distribution of the algorithm. This error is far
|
|
||||||
less than the 1–3 km/day by which satellites themselves deviate from the ideal
|
|
||||||
orbits described in TLE files.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public python-spectral-cube
|
(define-public python-spectral-cube
|
||||||
(package
|
(package
|
||||||
(name "python-spectral-cube")
|
(name "python-spectral-cube")
|
||||||
|
@ -7699,69 +7796,6 @@ photometric systems are available, and users can incorporate their own filters,
|
||||||
spectra, and data.")
|
spectra, and data.")
|
||||||
(license license:bsd-3))))
|
(license license:bsd-3))))
|
||||||
|
|
||||||
(define-public python-sbpy
|
|
||||||
(package
|
|
||||||
(name "python-sbpy")
|
|
||||||
(version "0.5.0")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "sbpy" version))
|
|
||||||
(sha256
|
|
||||||
(base32 "1xqi29rrh7v05zmvyl8gffrkrw5rlcxig1w6xw1v8f7ikydb5plv"))))
|
|
||||||
(build-system pyproject-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:test-flags
|
|
||||||
#~(list "--numprocesses" (number->string (parallel-job-count)))
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(add-before 'check 'set-home-env
|
|
||||||
(lambda _
|
|
||||||
;; Tests require HOME to be set.
|
|
||||||
;; No such file or directory: '/homeless-shelter/.astropy'
|
|
||||||
(setenv "HOME" "/tmp"))))))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-ads
|
|
||||||
python-astropy
|
|
||||||
python-astroquery
|
|
||||||
python-ginga
|
|
||||||
python-numpy
|
|
||||||
python-photutils
|
|
||||||
;python-pyoorb ;not packed yet in Guix
|
|
||||||
python-pyyaml
|
|
||||||
python-scipy
|
|
||||||
python-synphot))
|
|
||||||
(native-inputs
|
|
||||||
(list python-pytest
|
|
||||||
python-pytest-astropy
|
|
||||||
python-pytest-doctestplus
|
|
||||||
python-pytest-remotedata
|
|
||||||
python-pytest-xdist
|
|
||||||
python-setuptools-scm))
|
|
||||||
(home-page "https://sbpy.org")
|
|
||||||
(synopsis "Python module for small-body planetary astronomy")
|
|
||||||
(description
|
|
||||||
"@code{sbpy} is a package for small-body planetary astronomy. It is
|
|
||||||
meant to supplement functionality provided by @code{astropy} with functions
|
|
||||||
and methods that are frequently used in the context of planetary astronomy
|
|
||||||
with a clear focus on asteroids and comets.
|
|
||||||
Features:
|
|
||||||
@itemize
|
|
||||||
@item observation planning tools tailored to moving objects
|
|
||||||
@item photometry models for resolved and unresolved observations
|
|
||||||
@item wrappers and tools for astrometry and orbit fitting
|
|
||||||
@item spectroscopy analysis tools and models for reflected solar light and
|
|
||||||
emission from gas
|
|
||||||
@item cometary gas and dust coma simulation and analysis tools
|
|
||||||
@item asteroid thermal models for flux estimation and size/albedo estimation
|
|
||||||
@item image enhancement tools for comet comae and PSF subtraction tools
|
|
||||||
@item lightcurve and shape analysis tools
|
|
||||||
@item access tools for various databases for orbital and physical data, as
|
|
||||||
well as ephemerides services
|
|
||||||
@end itemize")
|
|
||||||
(license license:bsd-3)))
|
|
||||||
|
|
||||||
(define-public python-asdf-standard
|
(define-public python-asdf-standard
|
||||||
(package
|
(package
|
||||||
(name "python-asdf-standard")
|
(name "python-asdf-standard")
|
||||||
|
@ -7870,40 +7904,6 @@ implementation package such as asdf-astropy.")
|
||||||
"This package provides ASDF schemas for validating FITS tags.")
|
"This package provides ASDF schemas for validating FITS tags.")
|
||||||
(license license:bsd-3)))))
|
(license license:bsd-3)))))
|
||||||
|
|
||||||
(define-public python-asdf-wcs-schemas
|
|
||||||
(hidden-package
|
|
||||||
(package
|
|
||||||
(name "python-asdf-wcs-schemas")
|
|
||||||
(version "0.5.0")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "asdf_wcs_schemas" version))
|
|
||||||
(sha256
|
|
||||||
(base32 "1dar2pzf2plwyl1rbmnv8fqvx1ljgpf3z39d4ybmn690djjdsyxg"))))
|
|
||||||
(build-system pyproject-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:test-flags #~(list "tests")))
|
|
||||||
(native-inputs
|
|
||||||
(list python-asdf
|
|
||||||
python-pytest
|
|
||||||
python-pytest-openfiles
|
|
||||||
python-setuptools-next
|
|
||||||
python-setuptools-scm
|
|
||||||
python-wheel))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-asdf-coordinates-schemas
|
|
||||||
python-asdf-standard
|
|
||||||
python-asdf-transform-schemas))
|
|
||||||
(home-page "https://github.com/asdf-format/asdf-wcs-schemas")
|
|
||||||
(synopsis "ASDF WCS Schemas")
|
|
||||||
(description
|
|
||||||
"This package provides ASDF schemas for validating World Coordinate
|
|
||||||
System (WCS) tags. Users should not need to install this directly; instead,
|
|
||||||
install an implementation package such as gwcs.")
|
|
||||||
(license license:bsd-3))))
|
|
||||||
|
|
||||||
(define-public python-rad
|
(define-public python-rad
|
||||||
(package
|
(package
|
||||||
(name "python-rad")
|
(name "python-rad")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue