On Wed, 04 Jan 2012 12:29:36 +0100, Derek Homeier wrote: > On 04.01.2012, at 5:10AM, questions anon wrote: > >> Thanks for your responses but I am still having difficuties with this >> problem. Using argmax gives me one very large value and I am not sure >> what it is.
it is the index in the flattened array. To translate this into a multidimensional index, use numpy.unravel_index(i, original_shape). Cheers, Vincent. _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion