[SciPy-User] scipy.spatial, dsearchn?
Evan Mason
evanmason at gmail.com
Tue Mar 6 04:24:51 EST 2012
Hi, I am wondering if there is any way in scipy.spatial to get the information
given by matlab's dsearchn, i.e.:
http://www.mathworks.es/help/techdoc/ref/dsearchn.html
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
mailing list