pyfor.voxelizer module

class pyfor.voxelizer.VoxelGrid(cloud, cell_size)

Bases: object

A 3 dimensional grid representation of a point cloud. This is analagous to the rasterizer.Grid class, but with three axes instead of two. VoxelGrids are generally used to produce VoxelRaster objects.

__init__(cloud, cell_size)

Initialize self. See help(type(self)) for accurate signature.

voxel_raster(func, dim)

Creates a 3 dimensional voxel raster, analagous to rasterizer.Grid.raster.

Parameters
  • func – The function to summarize within each voxel.

  • dim – The dimension upon which to summarize (i.e. “z”, “intensity”, etc.)