Re: [Numpy-discussion] Distutils - way to check validity of compiler flag?

2014-06-02 Thread Matthew Brett
Hi, On Mon, May 12, 2014 at 12:50 PM, Robert McGibbon wrote: > In a couple of my projects, we check for flags by compiling little test > files -- autotools style -- to check for SSE, OpenMP, etc. See e.g. > https://github.com/rmcgibbo/mdtraj/blob/master/setup.py#L215 > > If anyone has a better so

Re: [Numpy-discussion] percentile function for masked array?

2014-06-02 Thread Alexander Belopolsky
On Mon, Jun 2, 2014 at 12:25 PM, Charles R Harris wrote: > I think the masked array code is also due a cleanup/rationalization. Any > comments you have along that line are welcome. Here are a few thoughts: 1. Please avoid another major rewrite. 2. Stop pretending that instances of ma.MaskedArr

Re: [Numpy-discussion] percentile function for masked array?

2014-06-02 Thread Charles R Harris
On Mon, Jun 2, 2014 at 10:15 AM, Alexander Belopolsky wrote: > > On Mon, Jun 2, 2014 at 11:48 AM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> Masked arrays have no maintainer, and haven't for several years, nor do I >> see anyone coming along to take it up. > > > I was effectively

Re: [Numpy-discussion] percentile function for masked array?

2014-06-02 Thread Alexander Belopolsky
On Mon, Jun 2, 2014 at 11:48 AM, Charles R Harris wrote: > Masked arrays have no maintainer, and haven't for several years, nor do I > see anyone coming along to take it up. I was effectively a maintainer of ma after Numeric -> numpy transition and before it was rewritten to use inheritance fro

Re: [Numpy-discussion] percentile function for masked array?

2014-06-02 Thread Charles R Harris
On Mon, Jun 2, 2014 at 9:30 AM, Alexander Belopolsky wrote: > It seems that there is not a percentile function for masked array in numpy >> or scipy? >> > > Percentile is not the only function missing in ma. See for example > > https://github.com/numpy/numpy/issues/4356 > https://github.com/nu

Re: [Numpy-discussion] percentile function for masked array?

2014-06-02 Thread Alexander Belopolsky
> > It seems that there is not a percentile function for masked array in numpy > or scipy? > Percentile is not the only function missing in ma. See for example https://github.com/numpy/numpy/issues/4356 https://github.com/numpy/numpy/issues/4355 It seems to me that ma was treated on par with

Re: [Numpy-discussion] percentile function for masked array?

2014-06-02 Thread Julian Taylor
On Mon, Jun 2, 2014 at 3:58 PM, Chao YUE wrote: > Dear all, > > It seems that there is not a percentile function for masked array in numpy > or scipy? > I checked numpy.percentile and scipy.percentile, it seems not support only > nonmasked array? And there is no percentile function in scipy.stats.

Re: [Numpy-discussion] fftw supported?

2014-06-02 Thread Robert Kern
On Mon, Jun 2, 2014 at 3:07 PM, Julian Taylor wrote: > On Mon, Jun 2, 2014 at 2:26 PM, David Cournapeau wrote: >> FFTW is not used anymore in neither numpy or scipy (has not been for several >> years). If you want to use fftw with numpy, there are 3rd party extensions >> to do it, like pyfftw > >

Re: [Numpy-discussion] fftw supported?

2014-06-02 Thread Julian Taylor
On Mon, Jun 2, 2014 at 2:26 PM, David Cournapeau wrote: > FFTW is not used anymore in neither numpy or scipy (has not been for several > years). If you want to use fftw with numpy, there are 3rd party extensions > to do it, like pyfftw > > If it was once supported in numpy, does someone remember

[Numpy-discussion] percentile function for masked array?

2014-06-02 Thread Chao YUE
Dear all, It seems that there is not a percentile function for masked array in numpy or scipy? I checked numpy.percentile and scipy.percentile, it seems not support only nonmasked array? And there is no percentile function in scipy.stats.mstats, so I have to use np.percentile(arr.compressed()) I g

Re: [Numpy-discussion] fftw supported?

2014-06-02 Thread David Cournapeau
FFTW is not used anymore in neither numpy or scipy (has not been for several years). If you want to use fftw with numpy, there are 3rd party extensions to do it, like pyfftw On Mon, Jun 2, 2014 at 12:27 PM, Neal Becker wrote: > I just d/l numpy-1.8.1 and try to build. I uncomment: > > [fftw] >

Re: [Numpy-discussion] fftw supported?

2014-06-02 Thread Neal Becker
Sebastian Berg wrote: > On Mo, 2014-06-02 at 07:27 -0400, Neal Becker wrote: >> I just d/l numpy-1.8.1 and try to build. I uncomment: >> >> [fftw] >> libraries = fftw3 >> >> This is fedora 20. fftw3 (and devel) is installed as fftw. >> >> I see nothing written to stderr during the build that

Re: [Numpy-discussion] fftw supported?

2014-06-02 Thread Sebastian Berg
On Mo, 2014-06-02 at 07:27 -0400, Neal Becker wrote: > I just d/l numpy-1.8.1 and try to build. I uncomment: > > [fftw] > libraries = fftw3 > > This is fedora 20. fftw3 (and devel) is installed as fftw. > > I see nothing written to stderr during the build that has any reference to > fftw. >

[Numpy-discussion] fftw supported?

2014-06-02 Thread Neal Becker
I just d/l numpy-1.8.1 and try to build. I uncomment: [fftw] libraries = fftw3 This is fedora 20. fftw3 (and devel) is installed as fftw. I see nothing written to stderr during the build that has any reference to fftw. ___ NumPy-Discussion mailing l