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
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.4.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for zarr_tools-0.4.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b34719fa532a907f500b356d87de702c0b11dd166064ab5ebd842ffea8fec48d |
|
MD5 | 01d7fa9fd64815464a571d91ca512c22 |
|
BLAKE2b-256 | eb693c4f6706b5c17921f3b6be8fd8a193a9e1671c114008830356050fefb2b3 |