rockverse.voxel_image.full#

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

Create a voxel image filled with a specified value.

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

  • dtype (string or dtype) – NumPy dtype.

  • fill_value (scalar) – Value to fill the array.

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

Returns:

The created VoxelImage object.

Return type:

VoxelImage