rockverse.voxel_image.empty#

rockverse.voxel_image.empty(shape, dtype, **kwargs)[source]#

Create an empty voxel image with the given shape. The array will be initialized without any specific values.

Parameters:
  • shape (tuple) – Desired image shape.

  • dtype (string or dtype) – NumPy dtype.

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

Returns:

The created VoxelImage object.

Return type:

VoxelImage