rockverse.voxel_image.VoxelImage.copy#

VoxelImage.copy(store=None, **kwargs)[source]#

Copy the voxel image to a new store.

This method supports re-chunking by passing chunks in **kwargs. This is a pottentially slow method as rechunking requires collective getitem and setitem.

Use a LocalStore to save a copy to the file system.

Parameters:
  • store (str) – Path to the exported file in the file system.

  • **kwargs – Additional keyword arguments to be passed to the underlying creation function.

Returns:

The created copy.

Return type:

VoxelImage