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

2011-10-18 Thread Nadav Horesh
] On Behalf Of T J [tjhn...@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.ta...@gmail.com wrote: Just wondering what are the main

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

2011-10-17 Thread T J
I recently put together a Cython example which uses the neighborhood iterator. It was trickier than I thought it would be, so I thought to share it with the community. The function takes a 1-dimensional array and returns a 2-dimensional array of neighborhoods in the original area. This is

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

2011-10-17 Thread eat
Hi, On Mon, Oct 17, 2011 at 9:19 PM, T J tjhn...@gmail.com wrote: I recently put together a Cython example which uses the neighborhood iterator. It was trickier than I thought it would be, so I thought to share it with the community. The function takes a 1-dimensional array and returns a