[Numpy-discussion] Manipulate neighboring points in 2D array

deb otrov@hush...
Fri Dec 28 09:00:06 CST 2012


Thanks Zach

You are right. I needed generic filter - to update current point, and
not the neighbors as I wrote.
Initial code is slow loop over 2D python lists, which I'm trying to
convert to numpy and make it useful. In that loop there is inner loop
for calculating neighbors properties, which confused me yesterday, and
mislead to search for something that probably does not make sense.

It's clear now :)

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20121228/ab006acd/attachment.html 


More information about the NumPy-Discussion mailing list