dacapo.experiments.datasplits.datasets.arrays.tiff_array

Module Contents

Classes

TiffArray

This is a tiff array

Attributes

logger

dacapo.experiments.datasplits.datasets.arrays.tiff_array.logger
class dacapo.experiments.datasplits.datasets.arrays.tiff_array.TiffArray(array_config)

This is a tiff array

abstract property attrs

Return a dictionary of metadata attributes stored on this array.

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

property dims: int

Returns the number of spatial dimensions.

property writable: bool

Can we write to this Array?

property dtype

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]
shape() funlib.geometry.Coordinate
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.

data()

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