sknano.core.atoms.KDTreeAtomsMixin.query_ball_point¶
-
KDTreeAtomsMixin.
query_ball_point
(pts, r, p=2.0, eps=0)[source][source]¶ Find all
Atoms
within distance r of point(s) pts.Parameters: pts :
Point
r : positive
float
The radius of
KDTAtoms
to 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
, optionalApproximate search.
Returns: KDTAtoms