I am a bit of a newbie to python, and would like a little advice on how to more efficiently process arrays.
I work a lot with satellite data, and have opened and read two binary images into separate 2-D arrays using numarray.fromfi le. What I want to do is is test each pixel in each image for various conditions, and depending on which condition the pixel value meets, write a number to a third array which is "empty" (contains...