Skip to content

Other

ome_zarr_models.v05.base.BaseGroupv05

Bases: BaseGroup, GroupSpec[BaseZarrAttrs[T], Union['pydantic_zarr.v3.GroupSpec', 'pydantic_zarr.v3.ArraySpec']], Generic[T]

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

Attributes:

Name Type Description
zarr_format Literal[3]
node_type Literal['group']
attributes BaseZarrAttrs
members Mapping[str, GroupSpec | ArraySpec] | None

ome_attributes

ome_attributes: T

OME attributes.

ome_zarr_version

ome_zarr_version: Literal['0.5']

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

ome_zarr_models.v05.base.BaseOMEAttrs

Bases: BaseAttrsv3

Base class for OME-Zarr 0.5 attributes.

Attributes:

Name Type Description
version Literal['0.5']

ome_zarr_models.v05.base.BaseZarrAttrs

Bases: BaseModel, Generic[T]

Base class for zarr attributes in an OME-Zarr group.

Attributes:

Name Type Description
ome T