Re: [Numpy-discussion] scipy_distutils.fcompiler

2013-03-05 Thread Eirik Gjerløw
Hey Gergely, On my box, the fcompiler module is in numpy.distutils, so import numpy.distutils.fcompiler works for me at least! Eirik On 05. mars 2013 14:58, Gergely Buday wrote: Hi there, I try to compile a program developed with scipy. It is installed on my Ubuntu 12.04 box but upon make

[Numpy-discussion] Numpy array slicing

2012-02-09 Thread Eirik Gjerløw
]) Out[32]: 12285 In [33]: a[[0] + [slice(None)] + [mask[0]] + [slice(None)]].shape Out[33]: (12285, 4, 2) My question is: Why is not the final shape (4, 12285, 2) instead of (12285, 4, 2)? Eirik Gjerløw ___ NumPy-Discussion mailing list NumPy

Re: [Numpy-discussion] Numpy array slicing

2012-02-09 Thread Eirik Gjerløw
by a second part obtained by the slice items (in your case extracting dimensions #1 and #3 of a, i.e. shape (4, 2)). So the final shape is (12285, 4, 2). -=- Olivier Le 9 février 2012 06:32, Eirik Gjerløw eirik.gjer...@astro.uio.no mailto:eirik.gjer...@astro.uio.no a écrit : Hello, (also