spectral_unmixing.show_all_channels_in_napari

spectral_unmixing.show_all_channels_in_napari(stack_path, *, layer_prefix='Channels', colormaps=None, title='Spectral Unmixing Results')[source]

Show every channel of a canonical TZCYX stack as a separate napari layer.

Parameters:
  • stack_path (str or Path) – Path to a microscopy stack readable by OMIO.

  • layer_prefix (str, optional) – Prefix used when naming napari layers.

  • colormaps (list of str or None, optional) – Colormaps used for successive channels. If more channels than colormaps are present, the list is reused cyclically.

  • title (str, optional) – Window title used when a new napari viewer is created.

Returns:

napari.Viewer – Shared napari viewer containing one layer per channel.