[SciPy-User] 2D NN search in a 3D point cloud
Thu Sep 22 07:13:57 CDT 2011
in a cloud of XYZ points I'd like to search for nearest neighbors in XY
plane using scipy.spatial.KDTree/cKDTree. The problem is that KDTree.query
takes into account all the given dimensions, not just the desired subset of
dimensions. Is there a simple way to have data with 3 or more dimensions and
use only 2 for NN search?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User