sknano.core.atoms.POAVAtoms.query_ball_point¶
-
POAVAtoms.query_ball_point(pts, r, p=2.0, eps=0)[source]¶ Find all
Atomswithin distance r of point(s) pts.Parameters: pts : Point
The Point or Points to search for neighbors of.
r : positive float
The radius of
KDTAtomsto returnp : float, 1<=p<=infinity
Which Minkowski p-norm to use. 1 is the sum-of-absolute-values “Manhattan” distance 2 is the usual Euclidean distance infinity is the maximum-coordinate-difference distance
eps : nonnegative float, optional
Approximate search.
Returns: list or array of lists