[SciPy-User] KDTree count_neighbors

Keith Goodman kwgoodman at gmail.com
Fri Jul 2 15:47:51 EDT 2010


On Fri, Jul 2, 2010 at 12:42 PM, Sturla Molden <sturla at molden.no> wrote:
> Sturla Molden skrev:
>> elmar skrev:
>>
>>> Can anyone give me some support ? Any help is wellcome !
>>>
>>>
>> It seems we have a bug. The code threat the argument 'r' as a KDTree
>> instead of array.
>>
>>
> Please ignore this :(
> I was not thinking stright.

(I thought the same thing.)

Maybe you want this function:

Definition:	tree.query_ball_point(self, x, r, p=2.0, eps=0)
Docstring:
    Find all points within r of x



More information about the SciPy-User mailing list