diff options
Diffstat (limited to 'gnu/packages/astronomy.scm')
-rw-r--r-- | gnu/packages/astronomy.scm | 847 |
1 files changed, 423 insertions, 424 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 745120b85c..0960b567a5 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2011,6 +2011,40 @@ implementation package such as asdf-astropy.") python-wheel)) (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 (package (name "python-asdf-zarr") @@ -4573,6 +4607,40 @@ observationally-derived galaxy merger catalogs.") satellite.") (license license:bsd-3))) +(define-public python-jplephem + (package + (name "python-jplephem") + (version "2.22") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jplephem" version)) + (sha256 + (base32 "0b2rgb7pvwnl72pqjryf9c812mmdxr69fwiym7mnz05l2xrcr6hd")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "unittest" "discover" "-s" "test"))))))) + (native-inputs + (list python-setuptools + python-wheel)) + (propagated-inputs + (list python-numpy)) + (home-page "https://github.com/brandon-rhodes/python-jplephem") + (synopsis "Python version of NASA DE4xx ephemerides") + (description + "@code{skyfield} computes positions for the stars, planets, and +satellites in orbit around the Earth. Its results should agree with the +positions generated by the United States Naval Observatory and their +Astronomical Almanac to within 0.0005 arcseconds (half a @emph{mas} or +milliarcsecond).") + (license license:expat))) + (define-public python-jwst (package (name "python-jwst") @@ -5325,6 +5393,179 @@ profiles. In particular, PetroFit includes tools for performing accurate photometry, segmentations, Petrosian profiling, and Sérsic fitting.") (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 + (package + (name "python-pint-pulsar") + (version "1.1.3") + (source + (origin + (method git-fetch) ; no tests data in the PyPI tarball + (uri (git-reference + (url "https://github.com/nanograv/PINT") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0n66z7v30q1981hx4q5vy3mibrh453gak8dd938038r5mwddya3f")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" (string-join + ;; Tests failing with assertion on not correct precision + ;; or missing data files. + (list "not test_astropy_observatory" + "test_copy_wideband_fitter_object" + "test_IERS_B_builtin_agree_with_IERS_Auto_dX" + "test_astropy_observatory" + "test_time_construction_jds_exact[tdb]" + "test_copy_toa_object" + "test_copy_residuals" + "test_copy_fitter_object") + " and not ") + ;; XXX: The most of the tests require additional data, select + ;; files where they may run without it and check how to enable + ;; more. + "tests/test_Galactic.py" + "tests/test_all_component_and_model_builder.py" + "tests/test_astrometry.py" + "tests/test_astropy_observatory.py" + "tests/test_astropy_times.py" + "tests/test_astropy_version.py" + "tests/test_binary_generic.py" + "tests/test_binconvert.py" + "tests/test_compare.py" + "tests/test_compare_model.py" + "tests/test_compare_model_ecl_vs_icrs.py" + "tests/test_convert_parfile.py" + "tests/test_copy.py" + "tests/test_covariance_matrix.py" + "tests/test_datafiles.py" + "tests/test_derived_quantities.py" + "tests/test_derivedparams.py" + "tests/test_dmxrange_add_sub.py" + "tests/test_erfautils.py" + "tests/test_eventstats.py" + "tests/test_funcpar.py" + "tests/test_kepler.py" + "tests/test_leapsec.py" + "tests/test_model_manual.py" + "tests/test_numpy.py" + "tests/test_observatory_envar.py" + "tests/test_observatory_metadata.py" + "tests/test_parfile.py" + "tests/test_parunits.py" + "tests/test_pb.py" + "tests/test_phase.py" + "tests/test_pickle.py" + "tests/test_plk_widget.py" + "tests/test_plot_utils.py" + "tests/test_plrednoise.py" + "tests/test_pmtransform_units.py" + "tests/test_precision.py" + "tests/test_prefix_param_inheritance.py" + "tests/test_priors.py" + "tests/test_process_parfile.py" + "tests/test_pulsar_mjd.py" + "tests/test_pulsar_position.py" + "tests/test_reduced_precision.py" + "tests/test_satobs.py" + "tests/test_t2binary2pint.py" + "tests/test_tcb2tdb.py" + "tests/test_templates.py" + "tests/test_variety_parfiles.py" + "tests/test_version.py") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'remove-deprecated-scripts + ;; ImportError: cannot import name 'CompositeMCMCFitter' from + ;; 'pint.mcmc_fitter'. + ;; + ;; Removed in 1.1.3: Broken fitter class `CompositeMCMCFitter` + ;; (this fitter was added seemingly to deal with combined radio and + ;; high-energy datasets, but has since been broken for a while.) + (lambda _ + (substitute* "pyproject.toml" + (("event_optimize_multiple.*") ""))))))) + (native-inputs + (list python-pytest + python-setuptools + python-versioneer + python-wheel)) + (propagated-inputs + (list python-astropy + python-corner + python-emcee + python-jplephem + python-loguru + python-matplotlib + python-nestle + python-numdifftools + python-numpy + python-pyerfa + python-scipy + python-uncertainties)) + (home-page "https://github.com/nanograv/PINT") + (synopsis "Software for high-precision pulsar timing") + (description + "PINT is not TEMPO3 - package providing a Pulsar Timing, written in +Python from scratch. +Features: +@itemize +@item a robust system to produce high-precision timing results that is +completely independent of TEMPO and Tempo2 +@item a system that is easy to extend and modify due to a good design +and the use of a modern programming language, techniques, and libraries +@end itemize") + (license license:bsd-3))) + (define-public python-pixell (package (name "python-pixell") @@ -5588,6 +5829,63 @@ Features: @end itemize") (license license:expat))) +(define-public python-pysat + (package + (name "python-pysat") + (version "3.2.2") + (source + (origin + (method git-fetch) ; no tests data in the PyPI tarball + (uri (git-reference + (url "https://github.com/pysat/pysat") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0gm71zafigwc94s37wqyl86yjabpq6wx9izwxag74wg1ynhqyvf0")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--durations=10" ; report 10 slowest tests + ;; Tests require pysatSpaceWeather which is not packed yet. + "--ignore=pysat/tests/test_utils_files.py" + "-k" "not test_from_os") + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ + ;; Do not run test coverage. + (substitute* "pyproject.toml" + ((".*addopts.*cov.*") "")) + ;; No such file or directory: '/homeless-shelter/.pysat' + (setenv "HOME" "/tmp") + (mkdir "pysatData") + (invoke "python" "-c" + "import pysat; pysat.params['data_dirs'] = 'pysatData'")))))) + (native-inputs + (list python-pytest + python-pytest-xdist + python-setuptools + python-wheel)) + (propagated-inputs + (list python-dask + python-netcdf4 + python-numpy + python-pandas + python-portalocker + python-scipy + python-toolz + python-xarray)) + (home-page "https://github.com/pysat/pysat") + (synopsis "Supports science analysis across disparate data platforms") + (description + "The Python Satellite Data Analysis Toolkit (pysat) provides a simple and +flexible interface for robust data analysis from beginning to end - including +downloading, loading, cleaning, managing, processing, and analyzing +data. Pysat's plug-in design allows analysis support for any data, including +user provided data sets.") + (license license:bsd-3))) + (define-public python-pysiril (package (name "python-pysiril") @@ -5926,6 +6224,69 @@ PSF} describing how the optical system spreads light from sources.") observations from the Nancy Grace Roman Space Telescope.") (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 (package/inherit libsep (name "python-sep") @@ -5954,6 +6315,68 @@ observations from the Nancy Grace Roman Space Telescope.") (list python-numpy)) (synopsis "Python library for Source Extraction and Photometry"))) +(define-public python-sep-pjw + (package + (name "python-sep-pjw") + (version "1.3.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sep_pjw" version)) + (sha256 + (base32 "0lhxfq1acc6qc8nszfdrpwq6dizaypz3b6frknfv5qm59mb488r0")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags #~(list "test.py"))) + (native-inputs + (list python-cython + python-pytest + python-setuptools + python-setuptools-scm-next + python-wheel)) + (propagated-inputs + (list python-numpy + python-sep)) + (home-page "https://github.com/PJ-Watson/sep-pjw") + (synopsis "Alternative fork of SEP library") + (description + "This package provides an alternative maintained fork of SEP python +library with bug fixtures.") + (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 (package (name "python-sirilic") @@ -6391,88 +6814,6 @@ instruments.") (license (list license:bsd-3 ; licenses/LICENSE.rst, same as python-astropy license:expat)))) ; licenses/KOSMOS_LICENSE -(define-public python-jplephem - (package - (name "python-jplephem") - (version "2.22") - (source - (origin - (method url-fetch) - (uri (pypi-uri "jplephem" version)) - (sha256 - (base32 "0b2rgb7pvwnl72pqjryf9c812mmdxr69fwiym7mnz05l2xrcr6hd")))) - (build-system pyproject-build-system) - (arguments - (list - #:phases - #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "unittest" "discover" "-s" "test"))))))) - (native-inputs - (list python-setuptools - python-wheel)) - (propagated-inputs - (list python-numpy)) - (home-page "https://github.com/brandon-rhodes/python-jplephem") - (synopsis "Python version of NASA DE4xx ephemerides") - (description - "@code{skyfield} computes positions for the stars, planets, and -satellites in orbit around the Earth. Its results should agree with the -positions generated by the United States Naval Observatory and their -Astronomical Almanac to within 0.0005 arcseconds (half a @emph{mas} or -milliarcsecond).") - (license license:expat))) - -(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 ;; <https://github.com/poliastro/poliastro/issues/1640>. ;; Maintained fork <https://github.com/pleiszenburg/hapsira>. @@ -6756,38 +7097,6 @@ re-gridding of images from one world coordinate system to another e.g. changing the pixel resolution, orientation, coordinate system.") (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 (package (name "python-spectral-cube") @@ -7393,63 +7702,6 @@ astrophysical simulations supporting PKDGRAV/Gasoline, Gadget, Gadget4/Arepo, N-Chilada and RAMSES AMR outputs.") (license license:gpl3+))) -(define-public python-pysat - (package - (name "python-pysat") - (version "3.2.2") - (source - (origin - (method git-fetch) ; no tests data in the PyPI tarball - (uri (git-reference - (url "https://github.com/pysat/pysat") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0gm71zafigwc94s37wqyl86yjabpq6wx9izwxag74wg1ynhqyvf0")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - #~(list "--durations=10" ; report 10 slowest tests - ;; Tests require pysatSpaceWeather which is not packed yet. - "--ignore=pysat/tests/test_utils_files.py" - "-k" "not test_from_os") - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda _ - ;; Do not run test coverage. - (substitute* "pyproject.toml" - ((".*addopts.*cov.*") "")) - ;; No such file or directory: '/homeless-shelter/.pysat' - (setenv "HOME" "/tmp") - (mkdir "pysatData") - (invoke "python" "-c" - "import pysat; pysat.params['data_dirs'] = 'pysatData'")))))) - (native-inputs - (list python-pytest - python-pytest-xdist - python-setuptools - python-wheel)) - (propagated-inputs - (list python-dask - python-netcdf4 - python-numpy - python-pandas - python-portalocker - python-scipy - python-toolz - python-xarray)) - (home-page "https://github.com/pysat/pysat") - (synopsis "Supports science analysis across disparate data platforms") - (description - "The Python Satellite Data Analysis Toolkit (pysat) provides a simple and -flexible interface for robust data analysis from beginning to end - including -downloading, loading, cleaning, managing, processing, and analyzing -data. Pysat's plug-in design allows analysis support for any data, including -user provided data sets.") - (license license:bsd-3))) - (define-public python-pysiaf (package (name "python-pysiaf") @@ -7544,99 +7796,6 @@ photometric systems are available, and users can incorporate their own filters, spectra, and data.") (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-pjw - (package - (name "python-sep-pjw") - (version "1.3.8") - (source - (origin - (method url-fetch) - (uri (pypi-uri "sep_pjw" version)) - (sha256 - (base32 "0lhxfq1acc6qc8nszfdrpwq6dizaypz3b6frknfv5qm59mb488r0")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags #~(list "test.py"))) - (native-inputs - (list python-cython - python-pytest - python-setuptools - python-setuptools-scm-next - python-wheel)) - (propagated-inputs - (list python-numpy - python-sep)) - (home-page "https://github.com/PJ-Watson/sep-pjw") - (synopsis "Alternative fork of SEP library") - (description - "This package provides an alternative maintained fork of SEP python -library with bug fixtures.") - (license (list license:expat license:lgpl3+ license:bsd-3)))) - (define-public python-asdf-standard (package (name "python-asdf-standard") @@ -7745,165 +7904,6 @@ implementation package such as asdf-astropy.") "This package provides ASDF schemas for validating FITS tags.") (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-pint-pulsar - (package - (name "python-pint-pulsar") - (version "1.1.3") - (source - (origin - (method git-fetch) ; no tests data in the PyPI tarball - (uri (git-reference - (url "https://github.com/nanograv/PINT") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0n66z7v30q1981hx4q5vy3mibrh453gak8dd938038r5mwddya3f")))) - (build-system pyproject-build-system) - (arguments - (list - #:test-flags - #~(list "-k" (string-join - ;; Tests failing with assertion on not correct precision - ;; or missing data files. - (list "not test_astropy_observatory" - "test_copy_wideband_fitter_object" - "test_IERS_B_builtin_agree_with_IERS_Auto_dX" - "test_astropy_observatory" - "test_time_construction_jds_exact[tdb]" - "test_copy_toa_object" - "test_copy_residuals" - "test_copy_fitter_object") - " and not ") - ;; XXX: The most of the tests require additional data, select - ;; files where they may run without it and check how to enable - ;; more. - "tests/test_Galactic.py" - "tests/test_all_component_and_model_builder.py" - "tests/test_astrometry.py" - "tests/test_astropy_observatory.py" - "tests/test_astropy_times.py" - "tests/test_astropy_version.py" - "tests/test_binary_generic.py" - "tests/test_binconvert.py" - "tests/test_compare.py" - "tests/test_compare_model.py" - "tests/test_compare_model_ecl_vs_icrs.py" - "tests/test_convert_parfile.py" - "tests/test_copy.py" - "tests/test_covariance_matrix.py" - "tests/test_datafiles.py" - "tests/test_derived_quantities.py" - "tests/test_derivedparams.py" - "tests/test_dmxrange_add_sub.py" - "tests/test_erfautils.py" - "tests/test_eventstats.py" - "tests/test_funcpar.py" - "tests/test_kepler.py" - "tests/test_leapsec.py" - "tests/test_model_manual.py" - "tests/test_numpy.py" - "tests/test_observatory_envar.py" - "tests/test_observatory_metadata.py" - "tests/test_parfile.py" - "tests/test_parunits.py" - "tests/test_pb.py" - "tests/test_phase.py" - "tests/test_pickle.py" - "tests/test_plk_widget.py" - "tests/test_plot_utils.py" - "tests/test_plrednoise.py" - "tests/test_pmtransform_units.py" - "tests/test_precision.py" - "tests/test_prefix_param_inheritance.py" - "tests/test_priors.py" - "tests/test_process_parfile.py" - "tests/test_pulsar_mjd.py" - "tests/test_pulsar_position.py" - "tests/test_reduced_precision.py" - "tests/test_satobs.py" - "tests/test_t2binary2pint.py" - "tests/test_tcb2tdb.py" - "tests/test_templates.py" - "tests/test_variety_parfiles.py" - "tests/test_version.py") - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'remove-deprecated-scripts - ;; ImportError: cannot import name 'CompositeMCMCFitter' from - ;; 'pint.mcmc_fitter'. - ;; - ;; Removed in 1.1.3: Broken fitter class `CompositeMCMCFitter` - ;; (this fitter was added seemingly to deal with combined radio and - ;; high-energy datasets, but has since been broken for a while.) - (lambda _ - (substitute* "pyproject.toml" - (("event_optimize_multiple.*") ""))))))) - (native-inputs - (list python-pytest - python-setuptools - python-versioneer - python-wheel)) - (propagated-inputs - (list python-astropy - python-corner - python-emcee - python-jplephem - python-loguru - python-matplotlib - python-nestle - python-numdifftools - python-numpy - python-pyerfa - python-scipy - python-uncertainties)) - (home-page "https://github.com/nanograv/PINT") - (synopsis "Software for high-precision pulsar timing") - (description - "PINT is not TEMPO3 - package providing a Pulsar Timing, written in -Python from scratch. -Features: -@itemize -@item a robust system to produce high-precision timing results that is -completely independent of TEMPO and Tempo2 -@item a system that is easy to extend and modify due to a good design -and the use of a modern programming language, techniques, and libraries -@end itemize") - (license license:bsd-3))) - (define-public python-rad (package (name "python-rad") @@ -10014,7 +10014,6 @@ currently).") (build-system go-build-system) (arguments (list - #:go go-1.24 #:install-source? #f #:import-path "codeberg.org/astronexus/uranimator")) (native-inputs |