diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-07 15:09:25 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-11-30 23:49:06 +0000 |
| commit | ec0ef475b52c67350caaa6c490c0527495de4c15 (patch) | |
| tree | 2f0aab6a549b8c92402affe62b3f57076a3cf069 | |
| parent | 26e10e254152ba09adcf7ccedf295abfa1676e19 (diff) | |
gnu: Add python-astromartini.
* gnu/packages/astronomy.scm (python-astromartini): New variable.
Change-Id: Ibea4652ba7b919a97e5791bd266bbd3d89ea3320
| -rw-r--r-- | gnu/packages/astronomy.scm | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 7f5e9b2a3df..43c2c2b4e68 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2872,6 +2872,61 @@ telescopes, and data generation utilities.") simulated Astronomical data in Python.") (license license:expat))) +(define-public python-astromartini + (package + (name "python-astromartini") + (version "2.1.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kyleaoman/martini") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1xbddyxnm8vy60x5d9bs3y09d4w1wm3yvyr89zmkapdn4qsxjjmr")))) + (build-system pyproject-build-system) + (arguments + (list + ;; tests: 2527 passed, 11 skipped, 4 xfailed + #:test-flags + #~(list "--numprocesses" (number->string (min 8 (parallel-job-count)))))) + (native-inputs + (list python-pytest + python-pytest-xdist + python-setuptools)) + (propagated-inputs + (list python-astropy + python-numpy + python-scipy + python-tqdm + ;; [optional] + ;; python-eaglesqltools + ;; python-gizmo-analysis + python-h5py + ;; python-halo-analysis + ;; python-hdecompose + ;; python-pyread-eagle + python-requests + ;; python-swiftgalaxy + ;; python-swiftsimio + ;; python-utilities-awetzel + #;python-velociraptor)) + (home-page "https://github.com/kyleaoman/martini") + (synopsis "Synthetic datacube creation from simulations") + (description + "MARTINI is a modular package for the creation of synthetic resolved HI +line observations (data cubes) of smoothed-particle hydrodynamics simulations +of galaxies. The various aspects of the mock-observing process are divided +logically into sub-modules handling the data cube, source, beam, +noise,spectral model and SPH kernel. MARTINI is object-oriented: each +sub-module provides a class (or classes) which can be configured as desired. +For most sub-modules, base classes are provided to allow for straightforward +customization. Instances of each sub-module class are given as parameters to +the Martini class; a mock observation is then constructed by calling a handful +of functions to execute the desired steps in the mock-observing process.") + (license license:gpl3))) + (define-public python-astroml (package (name "python-astroml") |
