This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.spatial.cKDTree.query

cKDTree.query()

query the kd-tree for nearest neighbors

This Page