Thank you! That answered things quite nicely. My apologies for not finding
the earlier discussion before sending out the question...
Thanks again,
-Joe
On Sat, Jun 13, 2009 at 7:17 PM, Robert Kern wrote:
> On Sat, Jun 13, 2009 at 19:11, Joe Kington wrote:
> > Hi folks,
> >
> > This is probably
On Sat, Jun 13, 2009 at 19:11, Joe Kington wrote:
> Hi folks,
>
> This is probably a very simple question, but it has me stumped...
>
> I have an integer 2D array containing 3rd dimesion indicies that I'd like to
> use to index values in a 3D array.
>
> Basically, I want the equivalent of:
>
>> out
Hi folks,
This is probably a very simple question, but it has me stumped...
I have an integer 2D array containing 3rd dimesion indicies that I'd like to
use to index values in a 3D array.
Basically, I want the equivalent of:
> output = np.zeros((ny,nx))
>
> for i in xrange(ny):
> for j in x