A package for multi-dimensional contiguous and non-contiguous coordinate aware arrays.
ndcube is an open-source SunPy affiliated package for manipulating, inspecting and visualizing multi-dimensional contiguous and non-contiguous coordinate-aware data arrays.
It combines data, uncertainties, units, metadata, masking, and coordinate transformations into classes with unified slicing and generic coordinate transformations and plotting/animation capabilities. It is designed to handle data of any number of dimensions and axis types (e.g. spatial, temporal, spectral, etc.) whose relationship between the array elements and the real world can be described by World Coordinate System (WCS) translations.
If you use ndcube is your work, we kindly ask you to acknowledge ndcube in your publications and presentations.
For detailed installation instructions, see the installation guide in the ndcube docs.
For more information or to ask questions about ndcube, check out:
If you would like to get involved, check out the Newcomers Guide section of the sunpy docs. This shows how to get setup with a “sunpy” workflow but the same applies for ndcube, you will just need to replace sunpy with ndcube.
Help is always welcome so let us know what you like to work on, or check out the issues page for the list of known outstanding items.
Code of Conduct
When you are interacting with the SunPy community you are asked to follow our Code of Conduct.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.