warp.volume_lookup_f#

warp.volume_lookup_f(
id: uint64,
i: int32,
j: int32,
k: int32,
) float#
  • Kernel

  • Python

Return the warp.float32 value of the voxel at integer index-space coordinates i, j, k, without interpolation.

id must identify a float32 volume. This function is not differentiable. In kernels, volume_lookup_f() is equivalent to volume_lookup() with dtype=float.

See volume_lookup() for shared behavior and a usage example.

Returns:

The resolved warp.float32 voxel value.