From patchwork Fri Jun 21 18:38:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65537 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5073D27BBE2; Fri, 21 Jun 2024 19:42:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4936C27BBE9 for ; Fri, 21 Jun 2024 19:42:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKjCE-0008Ry-UN; Fri, 21 Jun 2024 14:41:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sKjCC-0008PB-Vw for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:12 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKjCC-0003Qw-N6 for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKjCB-0004Tb-CV; Fri, 21 Jun 2024 14:41:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71702] [PATCH 24/30] gnu: Add python-naima. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 21 Jun 2024 18:41:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71702@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Eric Bavier , Sharlatan Hellseher X-Debbugs-Original-Xcc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Received: via spool by 71702-submit@debbugs.gnu.org id=B71702.171899524916899 (code B ref 71702); Fri, 21 Jun 2024 18:41:11 +0000 Received: (at 71702) by debbugs.gnu.org; 21 Jun 2024 18:40:49 +0000 Received: from localhost ([127.0.0.1]:43564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBo-0004OP-Jg for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:48 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:46465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBW-0004LU-8s for 71702@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:30 -0400 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-421b9068274so21637015e9.1 for <71702@debbugs.gnu.org>; Fri, 21 Jun 2024 11:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718995165; x=1719599965; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RpPQ3ZGKbdGsWMf56Ro8Odj2wP441NM8MxPd+yrmC2E=; b=kIJ+WOIDICWxITudjgHm+RUKuEBD3m5YcoI/GMUtk1pQh7GzfxCjBzgxliuvgEluxU +8+tKA+vpA0fTxke43zATf6P6xYhLgEBewLpmD8hnnsl5l3fvLXvcDqnYDJglFRZZ5N+ 4+S5WhSMMtNiHgQx5sxB+i91nsbWEERQ011vlwggNuiDdOh6uP2IVo6xCgLyWJ64TFKd F33FxBWTVDHFuoxOm33M04hcvIlRTqe8jaQS20rgMYln2Jq3V2SCCirB6ScV5h2uYiE8 Y6kNHcljKdSpL3mAlA1Qff4RP4I+HiAnnXmY3So6GLrbTF3RmQoJ1VJ6qwbIx9S3Cwl1 /nAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718995165; x=1719599965; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RpPQ3ZGKbdGsWMf56Ro8Odj2wP441NM8MxPd+yrmC2E=; b=UKdqB/27wr4XP4xWLEZQRWGazlSTyCLfiQtC7I+SOSIZ/9dgkxtGLqIf92A3NVFKwy 7M8dehKEV+z55Kbj3rX88RuohzQ5e8CGRFT/g5DqwazsV26y2ypzl9SN/ast4/llhytD cyhKHEYbct6U7LKLCIlZBfTEGrtI9qBO8u9/U7QB3+lR9WxQvyaqap2Zm+5zvv2Kt/mv F6YO3q+XAiJJfuGferj1lTU0xUzEghGSOXinoGFXE5t4qt/OkbD1EFXTpbhqya7LLMEI i9oOL4lIyFF1Ic8uxijAW+nzySrb/uTuhwTrIZoL9mawb+htbJnHvW65oWiE5OgovUu9 V5/Q== X-Gm-Message-State: AOJu0YwdCVza0h0sPhyL/kc19B9o3aUlCXixq5/HOAaZ2mjnT/3Zs7VF W2MeuOV9cvKL4w3wXmw8GNuyXja5I81uaU6wretEw6U3Ls3IJy9rZ5IR6nEG X-Google-Smtp-Source: AGHT+IGRK0Ryk2DA9JDlVGq0fmonHKCMHT+jS4FuVkbz6e5AqKf/m+u03WCnHTP6foiqbKnofb+9fA== X-Received: by 2002:a05:600c:4853:b0:422:1163:4488 with SMTP id 5b1f17b1804b1-4247529840fmr67659425e9.25.1718995165113; Fri, 21 Jun 2024 11:39:25 -0700 (PDT) Received: from guxtil.incerto.xyz (bagu-15-b2-v4wan-170076-cust245.vm21.cable.virginm.net. [77.98.0.246]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4247d0b63d4sm76298985e9.3.2024.06.21.11.39.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:39:24 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 21 Jun 2024 19:38:46 +0100 Message-ID: <8992d2d958e59d88a0de763a9aa21ec86adc699d.1718966788.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/astronomy.scm (python-naima): New variable. Change-Id: Ie4b69f0bbd9f73ec1d393a5870f61b48e1ad621e --- gnu/packages/astronomy.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 9bdc19a17e..676bf437ef 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -83,6 +83,7 @@ (define-module (gnu packages astronomy) #:use-module (gnu packages readline) #:use-module (gnu packages sqlite) #:use-module (gnu packages sphinx) + #:use-module (gnu packages statistics) #:use-module (gnu packages textutils) #:use-module (gnu packages time) #:use-module (gnu packages tls) @@ -2407,6 +2408,37 @@ (define-public python-mpl-animators the easy construction of interactive matplotlib widget based animations.") (license license:bsd-3))) +(define-public python-naima + (package + (name "python-naima") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "naima" version)) + (sha256 + (base32 "1lng2prl2kzzpgrkj11hl53cvqdh0gpk8cdqkvcg08k3bivzk8q8")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-astropy + python-corner + python-emcee + python-h5py + python-matplotlib + python-pyyaml + python-scipy)) + (native-inputs + (list python-pytest python-setuptools-scm)) + (home-page "http://github.com/zblz/naima") + (synopsis "Derivation of non-thermal particle distributions through MCMC spectral fitting") + (description + "This package implement functionality for computation of non-thermal +radiation from relativistic particle populations. It includes tools to +perform MCMC fitting of radiative models to X-ray, GeV, and TeV spectra using +@code{emcee}, an affine-invariant ensemble sampler for Markov Chain Monte +Carlo.") + (license license:bsd-3))) + (define-public python-ndcube (package (name "python-ndcube")