On 22-Sep-09, at 2:48 AM, Sturla Molden wrote: > > We're on the NumPy mailing list here. Do this istead ;-) Fair enough, though I think for his purposes he's better off taking his ndarray (the image) as an argument and summing as he goes, rather than allocating a new array/list at all. :) David