[SciPy-User] scipy.spatial, dsearchn?
Tue Mar 6 03:24:51 CST 2012
Hi, I am wondering if there is any way in scipy.spatial to get the information
given by matlab's dsearchn, i.e.:
k = dsearchn(X,T,XI) returns the indices k of the closest points in X for each
point in XI. X is an m-by-n matrix representing m points in n-dimensional space.
XI is a p-by-n matrix, representing p points in n-dimensional space. T is a
numt-by-n+1 matrix, a triangulation of the data X generated by delaunayn. The
output k is a column vector of length p.
Many thanks, Evan
More information about the SciPy-User