From patchwork Fri Jun 21 18:38:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 65550 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 C43F627BBEA; Fri, 21 Jun 2024 19:42:33 +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 3AAAE27BBE2 for ; Fri, 21 Jun 2024 19:42:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKjCG-0008Sh-EB; Fri, 21 Jun 2024 14:41:16 -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 1sKjCE-0008R8-LH for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:14 -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 1sKjCE-0003RL-Bb for guix-patches@gnu.org; Fri, 21 Jun 2024 14:41:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKjCC-0004U3-KH; Fri, 21 Jun 2024 14:41:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71702] [PATCH 27/30] gnu: Add python-statmorph. 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:12 +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.171899525016921 (code B ref 71702); Fri, 21 Jun 2024 18:41:12 +0000 Received: (at 71702) by debbugs.gnu.org; 21 Jun 2024 18:40:50 +0000 Received: from localhost ([127.0.0.1]:43570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBp-0004Ol-Ow for submit@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:50 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:44125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKjBY-0004Lo-HT for 71702@debbugs.gnu.org; Fri, 21 Jun 2024 14:40:32 -0400 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42172ed3487so17381415e9.0 for <71702@debbugs.gnu.org>; Fri, 21 Jun 2024 11:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718995167; x=1719599967; 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=2pmiFSzqPaC/GXAU0mMT/IP2WicmQmt1NZGhQ9doJgI=; b=k/q1h0cYkFK2aa5592j/9B10KC6VbASEOGemutfswxEa3257A/JuJqUZlSs2B8jERP dNZKlSvpXCk5BlbgRtb/Vo1EFy/oyrOSlEuPWpMKp4fZYy7DJmfzg2OGY7vgT0aLyP42 Xx5pqd4db/g5oV7MpeXM1MikbzGKrTiEuc8UiYqeBidujIUcaDEMkxJAW1VXYk+PrZN6 2wcnUP5FTQj5TgaFlI1Ncuej51IYJqDJ4vii1FUls4+kciTU+4GMIeugfc/QIafalPrv XeJjKizDmLUYqgMJnqCicfsZ/kYbYwLA07RzFxKeuNfSSPcTeLYESomYB+F/A+Gctjrv xHwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718995167; x=1719599967; 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=2pmiFSzqPaC/GXAU0mMT/IP2WicmQmt1NZGhQ9doJgI=; b=k4ppk6PsqBkbhkD8q7hQ6LaIpf8hKmJ8SJTgLzYLu6zZ3G1KOjIFUGPGOxUzYlj5ON Hl8M+2Trj6VpLaIt3BzRT9Y2B7EeZrzNPncAM94FNHjgTp5w8GQ/3SezMjOggMT1WJ0Y PGEZMSg7zXIs6S8h+6V5+7NSd0zQ8swT9sYEMqDcpO+8+0UWcePySoBDwpjiSxJoSKGg TM5HFQQiWz8dfs+BQbTZUtYlHF14DTZI0ZCdOH3InbPh/S1lEEmsqdKUNJrdKvEWHxUc jPfPOBqRkdWnGVebb+1JrVewdc88h046Lkyi3HWALs7SjA0QppieR35di1d8uiZa3wtF 7mEg== X-Gm-Message-State: AOJu0YzVq+oYnWoWzAp3jgJES+qDTYvjmz9N+e9sPkNDsolwuXYxeIZI PlZuh+lycapDgjLrGGtadEgDzDD7R5Iojr3wQrx1EV26cXvqGRfwSlUVygCa X-Google-Smtp-Source: AGHT+IGVHODqFD3tDDkwGfY062c9Uye8ldSzQ4BeZY4WXdfaV1JFbn7m0+YMnTzI0xy+Udv8HR4pHg== X-Received: by 2002:a05:600c:4651:b0:422:683b:df54 with SMTP id 5b1f17b1804b1-42475296a41mr71382395e9.32.1718995167532; Fri, 21 Jun 2024 11:39:27 -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.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:39:27 -0700 (PDT) From: Sharlatan Hellseher Date: Fri, 21 Jun 2024 19:38:49 +0100 Message-ID: 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-statmorph): New variable. Change-Id: Ie1d71e17f46bdb85c7c109f25b55bbb3b72af08c --- gnu/packages/astronomy.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 4e8ebc3830..7dbb95f788 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -3304,6 +3304,33 @@ (define-public python-spherical-geometry ;; QD_LIBRARY_LICENSE.rst for bandeled QD source (license license:bsd-3))) +(define-public python-statmorph + (package + (name "python-statmorph") + (version "0.5.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "statmorph" version)) + (sha256 + (base32 "06rbwrqlvdzn9innx05kjjmm4mmacd8kwwsfdf5idbwzby5ny5lw")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-astropy + python-numpy + python-photutils + python-scikit-image + python-scipy)) + (native-inputs + (list python-pytest)) + (home-page "https://github.com/vrodgom/statmorph") + (synopsis "Non-parametric morphological diagnostics of galaxy images") + (description + "The package @code{statmorph} implements functionality of calculating +non-parametric morphological diagnostics of galaxy images (e.g., Gini-M_{20} +and CAS statistics), as well as fitting 2D Sérsic profiles.") + (license license:bsd-3))) + (define-public python-stsci-image (package (name "python-stsci-image")