From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ILPrGAjTJWXlYAAAG6o9tA:P1 (envelope-from ) for ; Wed, 11 Oct 2023 00:41:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ILPrGAjTJWXlYAAAG6o9tA (envelope-from ) for ; Wed, 11 Oct 2023 00:41:12 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 366F8451E9 for ; Wed, 11 Oct 2023 00:41:12 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Dro31nIL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696977672; a=rsa-sha256; cv=none; b=Vkrc6kCbP6f2Qjynk4TuUwYgvpGvTO3Ow87/ry5WBPon4Cl7fbxnrZv0OWRJkytRH+B7/f SvUIAik7W5aWJvdd8QPRRl6PbpiRb/KzBqJUT6dGyVrNRL2jIixwxPQ74ARJK4FXw5jY2e mw4tUglyXQw+Ce6pXMATzghsEnK9PhgJx7FdUQqlbLe97LD4ahYag5FM8RfpZLK5wha5ha ymXh0m79kl54gpE5kMf9GfH476AiDk5QBsI/XvRtPVfai9maurNSs3Z8d8I2XlRk90pBFo p8/3+6RPJAaLCV7WKCgkJKNxIrhlm0BrHSzSnZ9Evy4toLQBrJ9tZyClIgrODQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=Dro31nIL; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696977672; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=un10ZzMDuQaKxbCujtqleII/f+2UdxCNTNdp3r+f/mQ=; b=XP9adVnxoz7zx39WULUr2SgN8hZjHHta842aNAlpnGog1I1nX28ZSkDRExCKUIjdtJYxL4 zzFuhEhK+K5FQ39hwbp8JOpUDTu+Sxks9aGRts4eHfvoqEkd/oDO80ZLlWeSSOkR0C005F 3lXE10raDmLUvd+AhQlJB7OMZBv9uTVhhCFUt/RxKUHvJZb1vBsvQL9v/FFonNOfWPMjQj kkT8CUZmD5+sz9IX27Xco5+wMyrkp9YrMcTnA5KoW/YFpAdk1lMEftLAHbWQYQRSsRR4Ap cGbIJ5BCK1bWO+giZ6A8TEcmRshNhZTawmsUh099ucAXQUFEoTkhPsQNyK9ouA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqLP9-0003aj-Rp; Tue, 10 Oct 2023 18:40:44 -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 1qqLP8-0003a2-J6 for guix-patches@gnu.org; Tue, 10 Oct 2023 18:40:42 -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 1qqLP8-0007nI-9k for guix-patches@gnu.org; Tue, 10 Oct 2023 18:40:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqLPT-0006ph-LN; Tue, 10 Oct 2023 18:41:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66454] [PATCH 5/5] gnu: Add python-spectral-cube. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Tue, 10 Oct 2023 22:41:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66454 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66454@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by 66454-submit@debbugs.gnu.org id=B66454.169697761826160 (code B ref 66454); Tue, 10 Oct 2023 22:41:03 +0000 Received: (at 66454) by debbugs.gnu.org; 10 Oct 2023 22:40:18 +0000 Received: from localhost ([127.0.0.1]:37067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqLOj-0006nr-Vv for submit@debbugs.gnu.org; Tue, 10 Oct 2023 18:40:18 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:58814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqLOc-0006mm-J3 for 66454@debbugs.gnu.org; Tue, 10 Oct 2023 18:40:11 -0400 Received: by mail-wm1-x32f.google.com with SMTP id 5b1f17b1804b1-4065f29e933so61110825e9.1 for <66454@debbugs.gnu.org>; Tue, 10 Oct 2023 15:39:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696977583; x=1697582383; 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=un10ZzMDuQaKxbCujtqleII/f+2UdxCNTNdp3r+f/mQ=; b=Dro31nILV8cQXJs9kZhINsdF4agTrUVnzWlxhH1iOcpjhjmYysgAtm2AcV1FoMsV9g FfLoRZpgIIdMsWpheWjSu6NaILM39clX6Q5j3QECYSRys4+x9M4NzDhhj5E2qdbzDCDW soExKmwamT4ivB1Zwq1FUywCTuksLqPQU/5Gr91bmrbzasFqdJQq2Es0agEY/10FNBf1 acTew2jYF1Xyy+bv3kaO+EkbVyPwXhkNqwfRrNXQPVC0vOba1/PwNFZzdeEnVd244BmK Y7PsHYhrsgC9ch/DBcKzt+zx/TRrjeF5YAFACuItVuG0w6buXw4LPZJsIKWakD9BkPu5 RUeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696977583; x=1697582383; 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=un10ZzMDuQaKxbCujtqleII/f+2UdxCNTNdp3r+f/mQ=; b=UL25pDkkQkyj4Klqt73WZDpjj7SSfY1a1QGZdxabMr4B7eH1ZaWyRai5Tp7ZhYnTOi Bd8L1Qb5cS8yu0Kw49BosDIDIo6Y5/YA1ULgWPPqniZGHDzmmENNIzVxfRGAV6Q3pVkX eA/cEq3/j98/XtPR+j/pL3YqunIXCxUvaYfNGB2iSBAWS2AXibjHkzTBMj8DzSkSVq6B Hz1FOTFsM/pBeU2/dYG+f68oO6WiO5k1NN1I60YkzECQ/lfg5ZfLnLVgeMQPDWidRDNd c7EoRFFOBa6uk9UQ1vel1z4xp0TtrhbXtOdF0tzrD9Ghsypbtm6WMHkna10BhIj3azvc Y+kw== X-Gm-Message-State: AOJu0Yw4bMFtnbggZQDkcVv6UXm6QaQ7bhvwXsj0kVH6kvKjW7hhHVIk Y6LKJAl145rg1BNM2N4Ws69nD9ncYcQ3rQ== X-Google-Smtp-Source: AGHT+IGo6FPWIRC8N+jZizgBisVgbusekJsvUB4C6eYy43dzmJU1IFTk6NGXcFxUMucj1Fx5e+uNgw== X-Received: by 2002:a1c:6a16:0:b0:406:44fe:7621 with SMTP id f22-20020a1c6a16000000b0040644fe7621mr17004184wmc.25.1696977583127; Tue, 10 Oct 2023 15:39:43 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id az41-20020a05600c602900b004068495910csm17447539wmb.23.2023.10.10.15.39.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 15:39:42 -0700 (PDT) From: Sharlatan Hellseher Date: Wed, 11 Oct 2023 02:39:35 +0100 Message-ID: <59eee72e739f7348f149fae04f7e410b5c70729c.1696987806.git.sharlatanus@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam: Yes X-Migadu-Queue-Id: 366F8451E9 X-Migadu-Spam-Score: 8.27 X-Spam-Score: 8.27 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam: Yes X-TUID: pJEjOTfT1YBR * gnu/packages/astronomy.scm (python-spectral-cube): New variable. --- gnu/packages/astronomy.scm | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 15ab071ed7..e76e0b0952 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -2524,6 +2524,59 @@ (define-public python-astral elevation, solar azimuth, rahukaalam, and the phases of the moon.") (license license:asl2.0))) +(define-public python-spectral-cube + (package + (name "python-spectral-cube") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "spectral-cube" version)) + (sha256 + (base32 "1xyqdflnz084hdx1pbrqd1jrfyyc7f8v3564rww2v1hjylzgsnnh")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-astropy + python-aplpy + python-casa-formats-io + python-dask + python-distributed + python-fsspec + ;; python-glue-core ; Not packed http://glueviz.org/, optional. + python-joblib + python-matplotlib + python-numpy + python-radio-beam + python-reproject + python-scipy + python-six + ;; python-yt ; Not packed https://yt-project.org/, optional. + python-zarr)) + (native-inputs + (list ;; XXX: Introduce cycle with pvextractor, listed as extra requiremnts + ;; in [noviz] option. + ;; python-pvextractor + python-pytest-astropy + python-regions + python-semantic-version)) + (home-page "https://spectral-cube.readthedocs.io/en/latest/") + (synopsis "Library for reading and analyzing astrophysical spectral data cubes") + (description + "The spectral-cube package provides an easy way to read, manipulate, +analyze, and write data cubes with two positional dimensions and one spectral +dimension, optionally with Stokes parameters. + +It provides the following main features: +@itemize +@item A uniform interface to spectral cubes, robust to the wide range of conventions +of axis order, spatial projections, and spectral units that exist in the wild. +@item Easy extraction of cube sub-regions using physical coordinates. +@item Ability to easily create, combine, and apply masks to datasets. +@item Basic summary statistic methods like moments and array aggregates. +@item Designed to work with datasets too large to load into memory. +@end itemize") + (license license:bsd-3))) + (define-public python-spherical-geometry (package (name "python-spherical-geometry") -- 2.41.0