pymif.microscope_manager.utils.to_zarr
Attributes
Functions
|
Write image data and metadata to the specified path. |
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, data_levels: List[dask.array.Array], metadata: Dict[str, Any], compressor: Any = None, compressor_level: int = 3, overwrite: bool = True, parallelize: bool = False)[source]
Write image data and metadata to the specified path.
Parameters
- pathstr
Destination path for the output data.
- data_levelsList[da.Array]
List of Dask arrays representing image data.
- metadataDict[str, Any]
Dictionary containing metadata information.
- compressorAny
Type of compression used (default: None).
- compressor_levelint
Compression level used (if compression is not None).
- overwritebool
whether to overwrite existing data at Destination path (default: True).
- parallelizebool
whether to use dask distribute to parallelize (default: False).