napf.base.KDT.radius_search#
- KDT.radius_search(queries, radius, return_sorted, nthread=None)[source]#
Searches for neighbors in given radius.
- Parameters:
queries ((m, d) np.ndarray) – Data type will be casted to the same type as tree_data.
radius (float)
return_sorted (bool)
nthread (int) – Default is None and will use self.nthread
- Returns:
ids_and_distances –
- ((m, 1) np.ndarray - uint ids,
(m, 1) np.ndarray - double dists)
- Return type:
tuple