Re: [Numpy-discussion] GSOC 2013

2013-03-05 Thread Nathaniel Smith
On 4 Mar 2013 23:21, "Jaime Fernández del Río" wrote: > > On Mon, Mar 4, 2013 at 2:29 PM, Todd wrote: >> >> >> 5. Currently dtypes are limited to a set of fixed types, or combinations of these types. You can't have, say, a 48 bit float or a 1-bit bool. This project would be to allow users to cr

Re: [Numpy-discussion] GSOC 2013

2013-03-05 Thread Kurt Smith
On Tue, Mar 5, 2013 at 1:45 AM, Eric Firing wrote: > On 2013/03/04 9:01 PM, Nicolas Rougier wrote: >>> >This made me think of a serious performance limitation of structured >>> >dtypes: a >>> >structured dtype is always "packed", which may lead to terrible byte >>> >alignment >>> >for common typ

Re: [Numpy-discussion] GSOC 2013

2013-03-05 Thread Andrew Collette
>> 5. Currently dtypes are limited to a set of fixed types, or combinations >> of these types. You can't have, say, a 48 bit float or a 1-bit bool. This >> project would be to allow users to create entirely new, non-standard dtypes >> based on simple rules, such as specifying the length of the si

Re: [Numpy-discussion] scipy_distutils.fcompiler

2013-03-05 Thread David Cournapeau
On Tue, Mar 5, 2013 at 2:58 PM, 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 I get: > > Traceback (most recent call last): > File "/usr/local/bin/f2py", line 4, in > f2py2e.main() > File "/usr/

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 m

Re: [Numpy-discussion] polyfit with fixed points

2013-03-05 Thread David Pine
Jaime, If you are going to work on this, you should also take a look at the recent thread http://mail.scipy.org/pipermail/numpy-discussion/2013-February/065649.html, which is about the weighting function, which is in a confused state in the current version of polyfit. By the way, Numerical Recipe

[Numpy-discussion] scipy_distutils.fcompiler

2013-03-05 Thread Gergely Buday
Hi there, I try to compile a program developed with scipy. It is installed on my Ubuntu 12.04 box but upon make I get: Traceback (most recent call last): File "/usr/local/bin/f2py", line 4, in f2py2e.main() File "/usr/local/lib/python2.7/dist-packages/f2py2e/f2py2e.py", line 677, in main

[Numpy-discussion] Implementing a "find first" style function

2013-03-05 Thread Phil Elson
The ticket https://github.com/numpy/numpy/issues/2269 discusses the possibility of implementing a "find first" style function which can optimise the process of finding the first value(s) which match a predicate in a given 1D array. For example: >>> a = np.sin(np.linspace(0, np.pi, 200)) >>> print

Re: [Numpy-discussion] polyfit with fixed points

2013-03-05 Thread Charles R Harris
On Tue, Mar 5, 2013 at 6:23 AM, Charles R Harris wrote: > > > On Tue, Mar 5, 2013 at 12:41 AM, Jaime Fernández del Río < > jaime.f...@gmail.com> wrote: > >> On Mon, Mar 4, 2013 at 8:37 PM, Charles R Harris < >> charlesr.har...@gmail.com> wrote: >> >>> >>> There are actually seven versions of polyn

Re: [Numpy-discussion] polyfit with fixed points

2013-03-05 Thread Charles R Harris
On Tue, Mar 5, 2013 at 12:41 AM, Jaime Fernández del Río < jaime.f...@gmail.com> wrote: > On Mon, Mar 4, 2013 at 8:37 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> >> There are actually seven versions of polynomial fit, two for the usual >> polynomial basis, and one each for Lege

Re: [Numpy-discussion] Remove interactive setup

2013-03-05 Thread Robert Kern
On Tue, Mar 5, 2013 at 6:34 AM, Charles R Harris wrote: > I note that the way to access it is to run python setup.py with no > arguments. I wonder what the proper message should be in that case? Just let distutils handle it. $ python setup.py usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2