[SciPy-User] Reduction of spatial with small differences

Franz Engel franz_lambert_engel@yahoo...
Thu Jul 4 02:50:15 CDT 2013


Hello,

I have an numpy.array with 3D points. Some of the points are very close to each other. Now I want reduce points they have a distance smaller than x.
For example
rawArray
[[1 2 2]
 [1 3 3]
 [1 4 4]
 [1 4 4]
 [1 5 5]
 [1 6 6]
 [1 6.1 6]
 [1 6.1 6.1]
 [1 6.2 6.1]]

make reduction
[[1 2 2]
 [1 3 3]
 [1 4 4]
 [1 5 5]
 [1 6.1 6.1]]

Is there a common way to do that? Or is thera a good keyword what I can looking for?

Regards,
    Franz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20130704/722294a2/attachment.html 


More information about the SciPy-User mailing list