sknano.core.atoms.KDTreeAtomsMixin¶
-
class
sknano.core.atoms.KDTreeAtomsMixin[source][source]¶ Mixin Atoms class for KDTree analysis.
Attributes
NNrcNearest neighbor radius cutoff. atom_treeKDTreeofdistancesNeighbor atoms distances. kNNNumber of nearest neighbors to return when querying the kd-tree. nearest_neighborsReturn array of nearest-neighbor atoms for each KDTAtom. neighbor_distancesneighborsReturn array of neighbor atoms. Methods
neighbor_counts(r)query_atom_tree([k, eps, p, rc])Query atom tree for nearest neighbors distances and indices. query_ball_point(pts, r[, p, eps])Find all Atomswithin distance r of point(s) pts.update_attrs()Update KDTAtoms attributes.update_bonds()Update KDTAtom.bonds.update_neighbors()Update KDTAtom.NN.