dacapo.experiments.datasplits.datasets.arrays.zarr_array_config =============================================================== .. py:module:: dacapo.experiments.datasplits.datasets.arrays.zarr_array_config Classes ------- .. autoapisummary:: dacapo.experiments.datasplits.datasets.arrays.zarr_array_config.ZarrArrayConfig Module Contents --------------- .. py:class:: ZarrArrayConfig This config class provides the necessary configuration for a zarr array. A zarr array is a container for large, multi-dimensional arrays. It is similar to HDF5, but is designed to work with large arrays that do not fit into memory. Zarr arrays can be stored on disk or in the cloud and can be accessed concurrently by multiple processes. Zarr arrays can be compressed and support chunked, N-dimensional arrays. .. attribute:: file_name Path The file name of the zarr container. .. attribute:: dataset str The name of your dataset. May include '/' characters for nested heirarchies .. attribute:: snap_to_grid Optional[Coordinate] If you need to make sure your ROI's align with a specific voxel_size .. attribute:: _axes Optional[List[str]] The axes of your data! .. method:: verify() -> Tuple[bool, str] Check whether this is a valid Array .. note:: This class is a subclass of ArrayConfig. .. py:attribute:: array_type .. py:attribute:: file_name :type: upath.UPath .. py:attribute:: dataset :type: str .. py:attribute:: snap_to_grid :type: Optional[funlib.geometry.Coordinate] .. py:attribute:: mode :type: Optional[str] .. py:method:: verify() -> Tuple[bool, str] Check whether this is a valid Array :returns: A tuple of a boolean and a string. The boolean indicates whether the Array is valid or not. The string provides a reason why the Array is not valid. :rtype: Tuple[bool, str] :raises NotImplementedError: This method is not implemented for this Array .. rubric:: Examples >>> zarr_array_config = ZarrArrayConfig( ... file_name=Path("data.zarr"), ... dataset="data", ... snap_to_grid=Coordinate(1, 1, 1), ... _axes=["x", "y", "z"] ... ) >>> zarr_array_config.verify() (True, 'No validation for this Array') .. note:: This method is not implemented for this Array