dacapo.experiments.datasplits.datasets.arrays.array

Module Contents

Classes

Array

Helper class that provides a standard way to create an ABC using

class dacapo.experiments.datasplits.datasets.arrays.array.Array

Helper class that provides a standard way to create an ABC using inheritance.

abstract property attrs: Dict[str, Any]

Return a dictionary of metadata attributes stored on this array.

abstract property axes: List[str]

Returns the axes of this dataset as a string of charactes, as they are indexed. Permitted characters are:

  • zyx for spatial dimensions

  • c for channels

  • s for samples

abstract property dims: int

Returns the number of spatial dimensions.

abstract property voxel_size: funlib.geometry.Coordinate

The size of a voxel in physical units.

abstract property roi: funlib.geometry.Roi

The total ROI of this array, in world units.

abstract property dtype: Any

The dtype of this array, in numpy dtypes

abstract property num_channels: int | None

The number of channels provided by this dataset. Should return None if the channel dimension doesn’t exist.

abstract property data: numpy.ndarray

Get a numpy like readable and writable view into this array.

abstract property writable: bool

Can we write to this Array?