$npx skillfedfor your agent

ndcube

A package for multi-dimensional contiguous and non-contiguous coordinate aware arrays.

With conditionsPyPI Scientific/EngineeringReleased Jun 202699.3K downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ndcube-2.4.1-py3-none-any.whl
v2.4.1 · released 2026-06-10 · Python >=3.11 · 4 runtime deps: astropy, gwcs, numpy, scipy

Yes, if you work with multi-dimensional scientific data (especially astronomy or solar physics) that requires WCS coordinate transformations and unified slicing. The package is actively maintained, has low install friction, and integrates well with the astropy ecosystem. However, verify the license terms first—the metadata does not clearly specify one. Not necessary for general-purpose array manipulation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.11.
  • astropy, gwcs, numpy, and scipy must be installed.
  • Low install friction; pure Python wheel.

License · maintenance · safety

(unclear) — License treatment is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license before use in proprietary or restricted contexts.

last release 2026-06-10 (65 days) · last repo commit 2026-08-11 · 48 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 99,324 downloads/mo, #13,027 on PyPI

Verify before relying

pip install ndcube
import ndcube
import astropy.units as u
import numpy as np
data = np.random.rand(10, 20)
array = ndcube.NDCube(data, unit=u.Jy)
  • Actual license identifier and terms—metadata shows 'unclear' treatment with no SPDX or raw license field populated.
  • Whether WCS coordinate transformations and plotting/animation capabilities are production-ready for all axis types (spatial, temporal, spectral, etc.).
  • Performance characteristics and memory efficiency for very large multi-dimensional arrays.
Same gist for agents: .md · .json

What it is and what it does

ndcube is a SunPy-affiliated package that wraps multi-dimensional arrays with coordinate awareness, units, uncertainties, and metadata into a unified interface. It is designed to handle scientific data of any number of dimensions whose relationship to the real world can be described by World Coordinate System (WCS) translations—common in astronomy and solar physics. The package provides slicing, coordinate transformations, and plotting/animation capabilities across all array dimensions and axis types.

The core use case is working with observational or simulated data where array indices map to real-world coordinates (e.g., spatial positions, wavelengths, or times). Rather than managing coordinates separately, ndcube binds them to the data, so slicing the array automatically updates the coordinate system. It depends on astropy for units and WCS support, numpy for array operations, scipy for numerical methods, and gwcs for generalized coordinate transformations.

Use it for

  • Slice and inspect solar or astronomical imaging data while preserving WCS coordinate metadata and units.
  • Transform multi-dimensional observational data between different coordinate systems (e.g., pixel to world coordinates).
  • Visualize and animate multi-dimensional scientific datasets with automatic axis labeling from WCS metadata.
  • Work with non-contiguous data arrays that share a common coordinate system.
  • Build scientific analysis pipelines that require coordinate-aware array operations with uncertainty tracking.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you work with multi-dimensional scientific data (especially astronomy or solar physics) that requires WCS coordinate transformations and unified slicing.

The package is actively maintained, has low install friction, and integrates well with the astropy ecosystem. However, verify the license terms first—the metadata does not clearly specify one. Not necessary for general-purpose array manipulation.

Install

ndcube on PyPI

Before you install

Low install friction; pure Python wheel. Active maintenance with a release 65 days ago and commits through 2026-08-11. Depends on well-established packages (astropy, numpy, scipy, gwcs).

Requires Python >=3.11. astropy, gwcs, numpy, and scipy must be installed.

License in practice

License treatment is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license before use in proprietary or restricted contexts.

Quickstart

pip install ndcube
import ndcube
import astropy.units as u
import numpy as np
data = np.random.rand(10, 20)
array = ndcube.NDCube(data, unit=u.Jy)

Verify before relying

  • Actual license identifier and terms—metadata shows 'unclear' treatment with no SPDX or raw license field populated.
  • Whether WCS coordinate transformations and plotting/animation capabilities are production-ready for all axis types (spatial, temporal, spectral, etc.).
  • Performance characteristics and memory efficiency for very large multi-dimensional arrays.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
astropygwcsnumpyscipy
MaintenanceActively maintained 65 days since the last release
Last repo commit
First released
Downloads99,324 / month, #13,027 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: ndcube-2.4.1-py3-none-any.whl

Tags

Capabilities
multi-dimensional array coordinate transformationWCS world coordinate system datascientific data visualization slicingndarray with units and metadataastronomical data cube handling
Topics
wcs-coordinatesastronomical-datasunpy-affiliated

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “multi-dimensional array coordinate transformation”

  • ndcubendcube manipulates, inspects, and visualizes multi-dimensional…
  • pystac-ext-datacubeExtends PySTAC to support the Datacube Extension specification,…
  • xarrayxarray adds dimension, coordinate, and attribute labels to NumPy-like…

Give your agent the search over MCP, or paste the wish link into any chat.

More Scientific/Engineering packages

numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
pandas Worth it
PyPI · Scientific/Engineering · released Jul 2026

pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.

BSD-3-Clausecompiled wheel · 3.11+
769.1Mdownloads / mo
scipy Worth it
PyPI · Libraries · released Jun 2026

scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.

BSD-3-Clausecompiled wheel · 3.12+
449.0Mdownloads / mo
scikit-learn Worth it
PyPI · Software Development · released Jun 2026

scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.

Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.

BSD-3-Clausecompiled wheel · 3.11+
235.5Mdownloads / mo
dill Worth it
PyPI · Software Development · released Jan 2026

dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.

BSD-3-Clausepure Python · 3.9+
208.1Mdownloads / mo
multiprocess Worth it
PyPI · Software Development · released Jan 2026

Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.

Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.

BSD-3-Clausepure Python · 3.9+
202.7Mdownloads / mo

See also gwcs · sunpy · xarray · spatial_image · asdf-wcs-schemas · sparse · reproject · odc-loader · awkward0 · arraykit