dacapo.experiments.datasplits.datasets.arrays.dvid_array

Module Contents

Classes

DVIDArray

This is a DVID array

Attributes

fetch_info

logger

dacapo.experiments.datasplits.datasets.arrays.dvid_array.fetch_info
dacapo.experiments.datasplits.datasets.arrays.dvid_array.logger
class dacapo.experiments.datasplits.datasets.arrays.dvid_array.DVIDArray(array_config)

This is a DVID array

property axes

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

property dims: int

Returns the number of spatial dimensions.

property writable: bool

Can we write to this Array?

property dtype: Any

The dtype of this array, in numpy dtypes

property num_channels: int | None

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

property spatial_axes: List[str]
abstract property data: Any

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

attrs()

Return a dictionary of metadata attributes stored on this array.

voxel_size() funlib.geometry.Coordinate

The size of a voxel in physical units.

roi() funlib.geometry.Roi

The total ROI of this array, in world units.

abstract add_metadata(metadata: Dict[str, Any]) None