vreg.create_zarr#

vreg.create_zarr(vol: Volume3D, **kwargs)[source]#

Write volume to disk in zarray format.

Parameters:
  • vol (Volume3D) – the volume to write.

  • kwargs (dict) – Any keyword arguments accepted by zarr.create()

Raises:

ImportError – Error raised if zarr is not installed.

Note

This requires a separate installation of the optional zarr package, either via ‘pip install zarr’ or by installing vreg with the rw option ‘pip install vreg[rw]’.