Expand description
k-d trees for nearest-neighbour and range queries in D dimensions.
See the book entry Spatial trees.
Structs§
- KdTree
- A static, balanced k-d tree over points in
Ddimensions. - Periodic
KdTree - A k-d tree on a periodic box
[0, L₁) × … × [0, L_D)(SciPy’scKDTree(..., boxsize=L)): distances are measured to the nearest periodic image, as in simulations with periodic boundary conditions. Queries search the3^Dimages of the query point.