summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-04-14 14:32:35 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-04-30 13:20:52 +0100
commitd44cb4b46395cab033f2442bc82f55b8efae26a1 (patch)
treed7e6743c5bc4b6c7092bebdcb88fac4cacde4405
parent6a439332423b04a0fd25387c5b82e02acbbba54e (diff)
gnu: Add python-p-winds.
* gnu/packages/astronomy.scm (python-p-winds): New variable. Change-Id: If7a96c1e31618ee7f1989bd90d6b3463443d9334
-rw-r--r--gnu/packages/astronomy.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 197641d4f2..a1d737ba92 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -7180,6 +7180,44 @@ Astronomy.")
"Orbital is a high level orbital mechanics package for Python.")
(license license:expat)))
+(define-public python-p-winds
+ (package
+ (name "python-p-winds")
+ (version "1.4.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ladsantos/p-winds")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0z94nvx47v50c7nq20kny49cr2w2xszvijy9bfxp2dbgq49ip244"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;network access is required to fetch test data
+ (native-inputs
+ (list python-setuptools))
+ (propagated-inputs
+ (list python-astropy
+ python-flatstar
+ python-numpy
+ python-scipy))
+ (home-page "https://github.com/ladsantos/p-winds")
+ (synopsis "Parker wind models for planetary atmospheres")
+ (description
+ "Python implementation of Parker wind models for planetary atmospheres.
+@code{p-winds} produces simplified, 1-D models of the upper atmosphere of a
+planet, and perform radiative transfer to calculate observable spectral
+signatures.
+
+The scalable implementation of 1D models allows for atmospheric retrievals to
+calculate atmospheric escape rates and temperatures. In addition, the modular
+implementation allows for a smooth plugging-in of more complex descriptions to
+forward model their corresponding spectral signatures (e.g., self-consistent
+or 3D models).")
+ (license license:expat)))
+
(define-public python-petrofit
(package
(name "python-petrofit")