rockverse.voxel_image.ones#

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

Create a voxel image filled with ones.

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