dacapo.experiments.datasplits.datasets.arrays.zarr_array
Module Contents
Classes
This is a zarr array |
Attributes
- dacapo.experiments.datasplits.datasets.arrays.zarr_array.logger
- class dacapo.experiments.datasplits.datasets.arrays.zarr_array.ZarrArray(array_config)
This is a zarr array
- property attrs
Return a dictionary of metadata attributes stored on this array.
- property axes
Returns the axes of this dataset as a string of charactes, as they are indexed. Permitted characters are:
zyxfor spatial dimensionscfor channelssfor 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]
- property data: Any
Get a numpy like readable and writable view into 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.
- classmethod create_from_array_identifier(array_identifier, axes, roi, num_channels, voxel_size, dtype, write_size=None, name=None, overwrite=False)
Create a new ZarrArray given an array identifier. It is assumed that this array_identifier points to a dataset that does not yet exist
- classmethod open_from_array_identifier(array_identifier, name='')