sknano.core.atoms.StructureAtoms.query_ball_point¶
-
StructureAtoms.
query_ball_point
(pts, r, p=2.0, eps=0)[source]¶ Find all
Atoms
within distancer
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