On 25/05/2012 16:21, Benjamin Root wrote: > > np.nonzero(arrrgh > 1) Did you mean np.where(arrrgh > 1)? I didn't know you could use np.nonzero in the way your describe? Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk