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

Nadav Horesh nadavh@visionsense....
Tue Oct 18 03:37:58 CDT 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@scipy.org [numpy-discussion-bounces@scipy.org] On Behalf Of T J [tjhnson@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@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@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion



More information about the NumPy-Discussion mailing list