Models and helpers¶
Axes¶
Channel display metadata¶
Omero, Channel and
Window are legacy ways to describe channels. They are deprecated in favour
of the channels= argument of Writer, and are importable from ome_zarr_io.schema_models
only.
- class ome_zarr_io.schema_models.Omero(channels)¶
OMERO metadata for image display configuration.
- class ome_zarr_io.schema_models.Channel(window=None, label=None, family=None, color=None, active=None)¶
OMERO channel configuration.
- Parameters:
Helpers¶
- ome_zarr_io.random_colors(n, seed=0, avoid=())¶
Generate
nvisually distinctRRGGBBcolors.Hues are spaced by the golden ratio, so color i depends only on
iandseed: asking for more colors never changes the earlier ones. Hues close to a color inavoidare skipped. A differentseedgives a different palette.