[Numpy-discussion] Example Usage of Neighborhood Iterator in Cython

Nadav Horesh nadavh at visionsense.com
Tue Oct 18 04:37:58 EDT 2011


Just in time! I was just working on a cythonic replacement to ndimage.generic_filter (well, I took a a short two years break in the middle).

 thank you very much,

    Nadav.
________________________________________
From: numpy-discussion-bounces at scipy.org [numpy-discussion-bounces at scipy.org] On Behalf Of T J [tjhnson at gmail.com]
Sent: 17 October 2011 23:16
To: Discussion of Numerical Python
Subject: Re: [Numpy-discussion] Example Usage of Neighborhood Iterator in       Cython

On Mon, Oct 17, 2011 at 12:45 PM, eat <e.antero.tammi at gmail.com> wrote:
>
> Just wondering what are the main benefits, of your approach, comparing to
> simple:

As I hinted, my goal was not to construct a "practical" example, but
rather, to demonstrate how to use the neighborhood iterator in Cython.
 Roll and mod are quite nice. :)  Now imagine working with higher
dimensional arrays with more exotic neighborhoods (like the letter X).
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion at scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion



More information about the NumPy-Discussion mailing list