[Numpy-discussion] Numpy array slicing

2012-02-09 Thread Eirik Gjerløw
Hello, (also sent to Scipy-User, sorry for duplicates). This is (I think) a rather basic question about numpy slicing. I have the following code: In [29]: a.shape Out[29]: (3, 4, 12288, 2) In [30]: mask.shape Out[30]: (3, 12288) In [31]: mask.dtype Out[31]: dtype('bool') In [32]:

Re: [Numpy-discussion] Numpy array slicing

2012-02-09 Thread Eirik Gjerløw
Ok, that was an enlightening discussion, I guess I signed up for this list a couple of days too late! Thanks, Eirik On 09. feb. 2012 12:55, Olivier Delalleau wrote: This was actually discussed very recently (for more details: