How to query the nearest neighbors including the ones at distance zero with Scipy's cKDTree?
<p>I want to find the neighbors within a distance using Scipy cKDTree. Most important, I want the point itself (zero distance) as well. cKDTree. query gives all the neighbors but without zero distance. </p>

<p>Is there a way to do this?</p>