fastgac.GaussianAccumulatorUI64¶
-
class
fastgac.
GaussianAccumulatorUI64
¶ This is the base class of the Gaussian Accumulator. GaussianAccumulatorKD, GaussianAccumulatorOpt, and GaussianAccumulatorS2 will derive from this class. Unfortunately those classes have small differences causing some unnecessary members in here that basically occurred as these classes were created and changed over time. Eventually I will rewrite this whole thing such that only the bare essentials are in this class.
-
__init__
(self: fastgac_pybind.GaussianAccumulatorUI64, level: int = 1, max_phi: float = 180.0) → None¶
-
clear_count
(self: fastgac_pybind.GaussianAccumulatorUI64) → None¶ Clears all the histogram counts for each cell. Useful to call after peak detection to ‘reset’ the mesh.
-
copy_ico_mesh
(self: fastgac_pybind.GaussianAccumulatorUI64, mesh_order: bool = False) → fastgac_pybind.IcoMesh¶ Creates a copy of the ico mesh.
-
get_bucket_normals
(self: fastgac_pybind.GaussianAccumulatorUI64, mesh_order: bool = False) → fastgac_pybind.MatX3d¶ Gets the surface normals of the buckets in the histogram.The order by default is sorted by the space filling curve value attached to each cell.
-
get_bucket_projection
(self: fastgac_pybind.GaussianAccumulatorUI64) → fastgac_pybind.MatX2d¶ Only useful for GaussianAccumulatorOpt. Return the XY projection of each bucket.
-
get_bucket_sfc_values
(self: fastgac_pybind.GaussianAccumulatorUI64) → fastgac_pybind.VectorULongInt¶ Get the space filling curve values of each bucket. Will be sorted low to high.
-
get_normalized_bucket_counts
(self: fastgac_pybind.GaussianAccumulatorUI64, mesh_order: bool = False) → fastgac_pybind.VectorDouble¶ Get the normalized bucket counts in the histogram.The order by default is sorted by the space filling curve value attached to each cell.
-
get_normalized_bucket_counts_by_vertex
(self: fastgac_pybind.GaussianAccumulatorUI64, mesh_order: bool = False) → fastgac_pybind.VectorDouble¶ Average the normalized buckets counts (triangles) into the vertices of the mesh.The order by default is sorted by the space filling curve value attached to each cell.
-
property
buckets
¶ The buckets in the histogram, corresponding to cells/triangles on the mesh
-
property
mask
¶ A mask which indicates which triangles in the mesh are included in the buckets. By default its every one (mask = ones). This was added because I thought a user might want to limit the histogram to only include triangles a max_phi from the north pole.
-
property
mesh
¶ The underlying sphere-like mesh of the Gaussian Accumulator
-
property
num_buckets
¶ The number of buckets in histogram, size(buckets)
-
property
projected_bbox
¶ Only a valid member for GaussianAccumulatorOpt, ignore for everthing else
-