czitools.export_tools #
OME-Zarr / OME-NGFF and reference-backed vzip export tools for czitools.
Convert CZI files to OME-Zarr, including HCS (high-content-screening) plate layouts. Both backends default to OME-NGFF 0.6 for images and HCS plates, including ngff-zarr RFC-9 OZX output. Low-level ome-zarr-py writes are finalized using ngff-zarr's 0.6 metadata model. A MagicGUI application is also provided.
These features require optional dependencies. Install them with::
pip install "czitools[omezarr]" # conversion + validation
pip install "czitools[omezarr-gui]" # additionally the MagicGUI app
pip install "czitools[vzip]" # reference-backed CZI archives
Public API (import lazily; a clear :class:ImportError is raised when the optional dependencies are missing)::
from czitools.export_tools import (
create_czi_vzip,
convert_czi2hcs_ngff,
convert_czi2hcs_omezarr,
write_omezarr,
write_omezarr_ngff,
convert_hcs_omezarr2ozx,
validate_ome_zarr,
resolve_hcs_layout,
compression_type,
omezarr_package,
setup_logging,
run_gui,
)
Modules:
-
conversion–Core CZI -> OME-Zarr conversion functions.
-
display–Image display helpers for the OME-Zarr export tools.
-
gui–MagicGUI Application for CZI to OME-ZARR Conversion
-
plate–HCS plate helpers for the OME-Zarr export tools.
-
resolver–Canonical HCS layout resolver for OME-Zarr export (Stage 5.5).
-
validation–Validate local OME-Zarr image and HCS stores.
-
vzip–Create reference-backed vzip archives without copying CZI pixels.