zarr-tools

zarr-tools

Convert nd2 to zarr

Convert nd2 to zarr

License PyPI Python Version tests codecov

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)),
)

Version:

  • 0.4.5

Last updated:

  • 06 March 2023

First released:

  • 06 March 2023

License:

Supported data:

  • Information not submitted

Plugin type:

  • Information not submitted

GitHub activity:

  • Stars: 1
  • Forks: 0
  • Issues + PRs: 0

Python versions supported:

Operating system:

Requirements:

  • dask
  • fire
  • nd2
  • zarr

Sign up to receive updates