summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2026-08-15 21:56:54 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-09-01 18:34:25 +0100
commit26309d8d65549755928a844e60a6198fa4b154a6 (patch)
tree1ebc4ce6791db83d7983139bc9c50a9ce7141922
parentc6bf0f3a69c8ebdd38915ee9230e59603d268b2d (diff)
gnu: Add python-synthesizar.
* gnu/packages/astronomy.scm (python-synthesizar): New variable. Relates-to: guix/guix!10702
-rw-r--r--gnu/packages/astronomy.scm65
1 files changed, 65 insertions, 0 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index 5b5047ef574..5a48b1a96e2 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -12747,6 +12747,71 @@ package.")
12747 (license (list license:lgpl3+ 12747 (license (list license:lgpl3+
12748 license:gpl3+)))) 12748 license:gpl3+))))
12749 12749
12750(define-public python-synthesizar
12751 (package
12752 (name "python-synthesizar")
12753 ;; Not released yet, recommended installation method via git clone.
12754 (properties '((commit . "77aab1767e25bc10a200e1b26270da1de20922c2")
12755 (revision . "0")))
12756 (version (git-version "0.0.0"
12757 (assoc-ref properties 'revision)
12758 (assoc-ref properties 'commit)))
12759 (source
12760 (origin
12761 (method git-fetch)
12762 (uri (git-reference
12763 (url "https://github.com/wtbarnes/synthesizAR")
12764 (commit (assoc-ref properties 'commit))))
12765 (file-name (git-file-name name version))
12766 (sha256
12767 (base32 "1yakp5bpjws0x9y35wv16q378bgz02jmsk9vrzwqw2003r4vnw1n"))))
12768 (build-system pyproject-build-system)
12769 (arguments
12770 (list
12771 #:phases
12772 #~(modify-phases %standard-phases
12773 (delete 'sanity-check)
12774 (add-before 'check 'pre-check
12775 (lambda _
12776 (setenv "HOME" "/tmp"))))))
12777 (native-inputs
12778 (list nss-certs-for-test
12779 python-pytest
12780 python-pytest-astropy
12781 python-setuptools
12782 python-setuptools-scm))
12783 (propagated-inputs
12784 (list python-asdf
12785 python-matplotlib
12786 python-ndcube
12787 python-scipy
12788 python-sunpy
12789 python-xarray
12790 python-zarr
12791 ;; [optional]
12792 python-aiapy
12793 python-dask
12794 python-distributed
12795 python-ebtelplusplus
12796 python-fiasco
12797 python-plasmapy
12798 python-pydrad
12799 python-sunkit-image
12800 python-xrtpy))
12801 (home-page "https://synthesizar.readthedocs.io/en/latest/")
12802 (synopsis "Optically-thin emission forward modeling")
12803 (description
12804 "synthesizAR is a Python package for building synthetic solar/stellar
12805active regions comprised of coronal loops. The package allows one to build up
12806a forward-modeled observation of an active region, starting with an observed
12807magnetogram and ending with an synthetic observational data product.
12808
12809synthesizAR is designed to be modular and extensible. Extensions for new
12810hydrodynamic codes, emission models, or instruments can be easily dropped in.
12811The goal of synthesizAR is to provide an easy-to-use and efficient pipeline
12812for forward-modeling hydrodynamic results from end to end.")
12813 (license license:bsd-3)))
12814
12750(define-public python-synphot 12815(define-public python-synphot
12751 (package 12816 (package
12752 (name "python-synphot") 12817 (name "python-synphot")