napf.base.KDT.radii_search#
- KDT.radii_search(queries, radii, return_sorted, nthread=None)[source]#
Similar to radius_search, but you can specify radius for each query.
- Parameters:
queries ((m, d) np.ndarray) – Data type will be casted to the same type as tree_data.
radii ((m,) np.ndarray)
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