Convert nd2 to zarr
Project description
zarr-tools
Convert nd2 to zarr
Installation
pip install git+https://gitlab.pasteur.fr/aaristov/zarr-tools.git
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
Release history Release notifications | RSS feed
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.4.2.tar.gz
(6.7 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.4.2.tar.gz.
File metadata
- Download URL: zarr-tools-0.4.2.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8672115deee991818f89467ecb88741ed1f5eee6a3fd4985285e71ba98bd18d1
|
|
| MD5 |
29766a2303ff1c7649c76e767328b63d
|
|
| BLAKE2b-256 |
31c9948e8f314b4630c7ad80e3ab41d367df6d50a80679f859a1b2e3c31eb9e9
|
File details
Details for the file zarr_tools-0.4.2-py3-none-any.whl.
File metadata
- Download URL: zarr_tools-0.4.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2eab08fe7cb33dd43ad0549dee8da08dc15eb0ffe30665d2e23964a1dd41ddb
|
|
| MD5 |
d20a78e20123184aa45a40f336ac16c2
|
|
| BLAKE2b-256 |
59e06e42cbdb4898e175a800c72fa51d7601dea4a966a116c50d2ab52b3bd4e6
|