pymif.microscope_manager.utils.to_zarr
Attributes
Functions
|
Write a pyramid of dask arrays to an OME-Zarr root group. |
Module Contents
- pymif.microscope_manager.utils.to_zarr.DEFAULT_COLORS = ('FF0000', '00FF00', '0000FF', 'FFFF00', 'FF00FF', '00FFFF', 'FFFFFF', '808080')[source]
- pymif.microscope_manager.utils.to_zarr.to_zarr(path: str | pathlib.Path, data_levels: Sequence[dask.array.Array], metadata: dict[str, Any], *, config: pymif.microscope_manager.utils.ngff.ZarrWriteConfig | None = None)[source]
Write a pyramid of dask arrays to an OME-Zarr root group.
Parameters
- pathstr | Path
Destination zarr store.
- data_levelssequence of dask.array.Array
Pyramid levels ordered from finest to coarsest resolution.
- metadatadict
Normalized PyMIF metadata dictionary describing axes, scales, channel metadata and units.
- configZarrWriteConfig | None
Output configuration controlling NGFF version, zarr format, overwrite behaviour and compression.