pyfor.voxelizer
Classes
Section titled “Classes”VoxelGrid
Section titled “VoxelGrid”VoxelGrid(cloud, cell_size)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.
Attributes
Section titled “Attributes”| Attribute | Type | Description |
|---|---|---|
cell_size |
||
cloud |
||
m |
||
n |
||
p |
||
bins_x |
||
bins_y |
||
bins_z |
||
cell_ids |
Properties
Section titled “Properties”n_cells
Section titled “n_cells”Returns: The total number of voxels, occupied or not.
Methods
Section titled “Methods”voxel_raster
Section titled “voxel_raster”voxel_raster(func, dim)Creates a 3 dimensional voxel raster, analagous to rasterizer.Grid.raster.
| Parameter | Type | Description |
|---|---|---|
func |
The function to summarize within each voxel. | |
dim |
The dimension upon which to summarize (i.e. “z”, “intensity”, etc.) |
