Re: [Numpy-discussion] using numpy.argmax to index into another array

2012-10-31 Thread Sebastian Berg
On Thu, 2012-11-01 at 01:30 +0100, Sebastian Berg wrote: > Hey, > > On Wed, 2012-10-31 at 20:22 -0400, David Warde-Farley wrote: > > On Wed, Oct 31, 2012 at 7:23 PM, Moroney, Catherine M (388D) > > wrote: > > > Hello Everybody, > > > > > > I have the following problem that I would be interested i

Re: [Numpy-discussion] using numpy.argmax to index into another array

2012-10-31 Thread Sebastian Berg
Hey, On Wed, 2012-10-31 at 20:22 -0400, David Warde-Farley wrote: > On Wed, Oct 31, 2012 at 7:23 PM, Moroney, Catherine M (388D) > wrote: > > Hello Everybody, > > > > I have the following problem that I would be interested in finding an > > easy/elegant solution to. > > I've got it working, but

Re: [Numpy-discussion] using numpy.argmax to index into another array

2012-10-31 Thread David Warde-Farley
On Wed, Oct 31, 2012 at 7:23 PM, Moroney, Catherine M (388D) wrote: > Hello Everybody, > > I have the following problem that I would be interested in finding an > easy/elegant solution to. > I've got it working, but my solution is exceedingly clunky and I'm sure that > there must be a > better w

[Numpy-discussion] using numpy.argmax to index into another array

2012-10-31 Thread Moroney, Catherine M (388D)
Hello Everybody, I have the following problem that I would be interested in finding an easy/elegant solution to. I've got it working, but my solution is exceedingly clunky and I'm sure that there must be a better way. Here is the (boiled-down) problem: I have 2 different 3-d array, shaped (4,