Re: [Numpy-discussion] Identification of neighbouring sites for a periodic numpy array

2007-04-05 Thread Bill Baxter
On 4/4/07, Andy Cheesman <[EMAIL PROTECTED]> wrote: > Hi people, > > I was wondering if people could give me a pointer or two upon the > efficient identification of neighbouring sites for a given point upon a > numpy array which has periodic conditions. > Suggestions upon the web I've seen seem to

[Numpy-discussion] Identification of neighbouring sites for a periodic numpy array

2007-04-05 Thread Andy Cheesman
Hi people, I was wondering if people could give me a pointer or two upon the efficient identification of neighbouring sites for a given point upon a numpy array which has periodic conditions. Suggestions upon the web I've seen seem to use lots of loops which does not seem to be the most economical