Skip to main content

Tools to simplify reading and CZI (Carl Zeiss Image) meta and pixel data

Project description

czitools

PyPI PyPI - Downloads License codecov Python Version Development Status

This repository provides a collection of tools to simplify reading CZI (Carl Zeiss Image) pixel and metadata in Python. It is available as a Python Package on PyPi.

For full documentation see sebi06.github.io/czitools.

Quick Start

pip install czitools
from czitools.metadata_tools.czi_metadata import CziMetadata
from czitools.read_tools import read_tools

# read all metadata
mdata = CziMetadata("path/to/file.czi")

# read pixel data as a labelled STCZYX(A) array
array6d, mdata = read_tools.read_6darray("path/to/file.czi", use_dask=True, use_xarray=True)

For installation options (PyPI, editable, conda) see the Installation docs. For detailed usage examples see the Usage docs.

CZI inside NDV

5D CZI inside NDV

CZI inside Napari

5D CZI inside Napari

Colab Notebooks

Topic Link
Read CZI metadata Open In Colab
Read CZI pixel data Open In Colab
Write OME-ZARR from CZI Open In Colab
Save with ZSTD compression Open In Colab
Show planetable as surface Open In Colab
Segment with Voronoi-Otsu Open In Colab

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

czitools-0.17.0.tar.gz (90.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

czitools-0.17.0-py3-none-any.whl (112.4 kB view details)

Uploaded Python 3

File details

Details for the file czitools-0.17.0.tar.gz.

File metadata

  • Download URL: czitools-0.17.0.tar.gz
  • Upload date:
  • Size: 90.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for czitools-0.17.0.tar.gz
Algorithm Hash digest
SHA256 b137cdd830c69a93eeee8fbe3b07827b575873100961f7533406aa1284ddbdab
MD5 5b880d51d92b0aa8a4544298cbb84be3
BLAKE2b-256 76feb6683bbde8e0c6c1c8ff1046c56670e17fe80e3f3e4b55ad6acd927226d8

See more details on using hashes here.

File details

Details for the file czitools-0.17.0-py3-none-any.whl.

File metadata

  • Download URL: czitools-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 112.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for czitools-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc3e4447092f4c9629d882ffa49fb6c80e393c9e0c123da0495235969ef04e2b
MD5 a19a59e86a88e1ccbcfc79c5a597c393
BLAKE2b-256 2090a8dfe8788c269fd0d7d7438fdc9aa154402a8168d8a84e74dcc399ff7767

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page