[Numpy-discussion] [numpy] ENH: Initial implementation of a 'neighbor' calculation (#303)
Sun Oct 14 19:24:19 CDT 2012
> On 10.10.2012 15:42, Nathaniel Smith wrote:
>> This PR submitted a few months ago adds a substantial new API to numpy,
>> so it'd be great to get more review. No-one's replied yet, though...
>> Any thoughts, anyone? Is it useful, could it be better...?
> Fast neighbor search is what scipy.spatial.cKDTree is designed for.
> There is an brand new version in SciPy master.
It's not neighbor *search*, it's applying a function over an (arbitrary chosen and weighted) moving neighborhood in an nd array.
It would be useful for the author of the PR to post a detailed comparison of this functionality with scipy.ndimage.generic_filter, which appears to have very similar functionality.
More information about the NumPy-Discussion