Convert nd2 to zarr
Project description
zarr-tools
Convert nd2 to zarr
Installation
pip install zarr-tools
Usage
As command line
python -m zarr-tools file.nd2
This will produce the zarr dataset with default 5 steps of binning for xy dimensions.
As python module
import nd2
import zarr_tools
data = nd2.ND2File("input.nd2").to_dask()
zarr_tools.convert.to_zarr(
data,
channel_axis=1,
path="output.zarr",
steps=4,
name=['BF','TRITC'],
colormap=['gray','green'],
lut=((1000,30000),(440, 600)),
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zarr_tools-0.6.0.tar.gz
(9.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zarr_tools-0.6.0.tar.gz.
File metadata
- Download URL: zarr_tools-0.6.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
542367ffa8b4e18faf888d0463f4627d1f4117736c1e01eeb8324be8ae7f0104
|
|
| MD5 |
714bb6ee354728b09cbae676af1a7d52
|
|
| BLAKE2b-256 |
2815513e7d2d25d9cca205d8d90c3ee0e828456447c1cc177102b89ddd646d3a
|
File details
Details for the file zarr_tools-0.6.0-py3-none-any.whl.
File metadata
- Download URL: zarr_tools-0.6.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cca33739e12ca342c5880d53655719309c5f7947b06ee69c7b9b532b3897eb77
|
|
| MD5 |
7b23c8af03b3435c8c083a866558f5b3
|
|
| BLAKE2b-256 |
53b7d79510e26799991db786f5fc2f2fd296a026d4c5beb0d34bfcd80f29224a
|