The `query_ball_point` function in Python's `scipy.spatial.KDTree` module is used to find all the points within a specified radius from a given point in a KD (k-dimensional) tree. It returns a list of indices corresponding to the points that are within the specified radius from the given point. This function is useful for tasks such as nearest neighbor search and identifying points within a certain distance from a reference point in a k-dimensional space.
Python KDTree.query_ball_point - 60 examples found. These are the top rated real world Python examples of scipy.spatial.KDTree.query_ball_point extracted from open source projects. You can rate examples to help us improve the quality of examples.