Skip to content

Other

ome_zarr_models.v04.base.BaseGroupv04

Bases: BaseGroup, GroupSpec[T, TBaseItem], Generic[T]

Base class for all v0.4 OME-Zarr groups.

Attributes:

Name Type Description
zarr_format Literal[2]
attributes T
members Mapping[str, GroupSpec | ArraySpec] | None

ome_attributes

ome_attributes: T

OME attributes.

ome_zarr_version

ome_zarr_version: Literal['0.4']

OME-Zarr version.

from_zarr

from_zarr(group: Group) -> Self

Create an OME-Zarr model from a zarr.Group.

Parameters:

Name Type Description Default
group Group

A Zarr group that has valid OME-Zarr image metadata.

required