ArrayView¶

class ArrayView(array, axes)[source]¶

An object for viewing a zarr array with a different index ordering.

Used to allow YXS index order reads for arrays with axes in other orders such as SYX. Currently supported axes are: - YXS - SYX

Initialise the view object.

Parameters:
  • array (zarr.Array) – Zarr Array to read from.

  • axes (str) – Axes ordering string. Allowed values are YXS and SYX.

Methods

Attributes

shape

Return array shape.

property shape: tuple¶

Return array shape.