Skip to content

czitools.utils.ndv_tools #

NDV viewer helpers for czitools.

Provides create_luts_ndv and create_scales_ndv to build channel LUT mappings and axis scale dictionaries from CziMetadata, ready for use with the NDV array viewer.

Classes:

  • NDVMetadataLike –

    Structural typing interface for metadata consumed by this module.

NDVMetadataLike #

Bases: Protocol

Structural typing interface for metadata consumed by this module.

Any object that exposes the required image, channelinfo, and scale attributes is accepted, independent of its concrete class.