chunky3d
A 3D array-like NumPy-based data structure for large sparsely-populated volumes
Build
Introduction
This library provides a data structure, Sparse, which represents 3D volumetric data
and supports a subset of np.ndarray features.
Example
>>> import numpy as np
>>> from chunky3d import Sparse
>>> s = Sparse(shape=(64, 64, 64))
>>> s[0, 0, 0]
0
>>> s.dtype
numpy.float64
>>> s.nchunks
8
>>> s.nchunks_initialized
0
>>> s[1, 2, 3] = 3
>>> s.nchunks_initialized
1
>>> s[:2, 2, 3:5]
array([[0., 0.],
[3., 0.]])
Features
chunky3d.sparse_func- a collection of functions for analyzing chunked arrays, including morphological operations (opening, closing), thinning, connected components- Fast load and save using
msgpack - Operations on arrays using
.run(), with possible acceleration usingmultiprocessing multiprocessing-based acceleration in most of existingsparse_func- Accelerated lookup using
numba - Interpolation (point probe)
- Origin and spacing: representing 3D space with non-uniform spacing for different axes
- Easy visualization of arrays with
dtype=np.uint8viachunky3d.k3d_connector.get_k3d_object()
Release files for chunky3d 0.1.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| chunky3d-0.1.15.tar.gz | 31.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chunky3d-0.1.15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.6 kB
Release files / chunky3d-0.1.15.tar.gz
| Download URL | chunky3d-0.1.15.tar.gz |
|---|---|
| Size | 31.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7a6a833b9d9114c94efc2a8d105e632f17dfd74bc4df23b4039e3c943b7b3d5
|
|
BLAKE2b-256 checksum How to use checksums |
e61bbcbcb911d367b46e5241d85bf0a8b451e84829297b14407b4a6d24c87265
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|
Release files / chunky3d-0.1.15-py3-none-any.whl
| Download URL | chunky3d-0.1.15-py3-none-any.whl |
|---|---|
| Size | 33.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2e6763e5de243483b6faebad58a6af008a0a557a32497980a5a385703455dd6
|
|
BLAKE2b-256 checksum How to use checksums |
5b6d14fbcf9bd6ecb3f2a21023296f3b3e3bb462c4309673ad5c8e107a11e5c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12
|