Re: [Numpy-discussion] Numpy 1.3 release date ?

2009-02-05 Thread Tiziano Zito
what about fixing http://scipy.org/scipy/scipy/ticket/812 ? this is actually a scipy-numpy compatibility problem, where numpy is wrong IMO. it is a one-line fix, I think. thank you! tiziano ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

[Numpy-discussion] help writing an array subtype

2009-02-05 Thread Trevor Clarke
I'm embedded python (and numpy) is a C++ app and I'm trying to access my array data in numpy but I'm not sure where to start. Due to data sizes, I don't have access to the entire array contiguously, my app implements a virtual memory like paging system where variable sized pages of data are

[Numpy-discussion] Argsort

2009-02-05 Thread Ryan May
Hi, Ok, what am I missing here: x = np.array([[4,2],[5,3]]) x[x.argsort(1)] array([[[5, 3], [4, 2]], [[5, 3], [4, 2]]]) I was expecting: array([[2,4],[3,5]]) Certainly not a 3D array. What am I doing wrong? Ryan -- Ryan May Graduate Research Assistant School of

[Numpy-discussion] PEP: named axis (was: Selection of only a certain number of fields)

2009-02-05 Thread Gael Varoquaux
On Thu, Feb 05, 2009 at 05:08:49PM -0600, Travis E. Oliphant wrote: I've been fairly quiet on this list for awhile due to work and family schedule, but I think about how things can improve regularly.One feature that's been requested by a few people is the ability to select multiple

Re: [Numpy-discussion] Selection of only a certain number of fields

2009-02-05 Thread Pierre GM
On Feb 5, 2009, at 6:08 PM, Travis E. Oliphant wrote: Hi all, I've been fairly quiet on this list for awhile due to work and family schedule, but I think about how things can improve regularly.One feature that's been requested by a few people is the ability to select multiple fields

Re: [Numpy-discussion] numscons/numpy.distutils bug related to MACOSX_DEPLOYMENT_TARGET

2009-02-05 Thread Brian Granger
Robert, Can you have a look at the following fix and see if it is satisfactory? http://github.com/ellisonbg/numpy/blob/81360e93968968dc9dcbafd7895da7cec5015a3c/numpy/distutils/fcompiler/gnu.py Brian On Tue, Feb 3, 2009 at 9:32 PM, Robert Kern robert.k...@gmail.com wrote: On Tue, Feb 3, 2009

Re: [Numpy-discussion] Selection of only a certain number of fields

2009-02-05 Thread Travis Oliphant
Pierre GM wrote: On Feb 5, 2009, at 6:08 PM, Travis E. Oliphant wrote: Hi all, I've been fairly quiet on this list for awhile due to work and family schedule, but I think about how things can improve regularly.One feature that's been requested by a few people is the ability to

Re: [Numpy-discussion] numscons/numpy.distutils bug related to MACOSX_DEPLOYMENT_TARGET

2009-02-05 Thread Robert Kern
On Thu, Feb 5, 2009 at 22:00, Brian Granger ellisonbg@gmail.com wrote: Robert, Can you have a look at the following fix and see if it is satisfactory? http://github.com/ellisonbg/numpy/blob/81360e93968968dc9dcbafd7895da7cec5015a3c/numpy/distutils/fcompiler/gnu.py Looks good. -- Robert

Re: [Numpy-discussion] PEP: named axis

2009-02-05 Thread Travis Oliphant
Gael Varoquaux wrote: On Thu, Feb 05, 2009 at 05:08:49PM -0600, Travis E. Oliphant wrote: I've been fairly quiet on this list for awhile due to work and family schedule, but I think about how things can improve regularly.One feature that's been requested by a few people is the

Re: [Numpy-discussion] numscons/numpy.distutils bug related to MACOSX_DEPLOYMENT_TARGET

2009-02-05 Thread Brian Granger
Great, what is the best way of rolling this into numpy? Brian On Thu, Feb 5, 2009 at 8:13 PM, Robert Kern robert.k...@gmail.com wrote: On Thu, Feb 5, 2009 at 22:00, Brian Granger ellisonbg@gmail.com wrote: Robert, Can you have a look at the following fix and see if it is satisfactory?

Re: [Numpy-discussion] PEP: named axis

2009-02-05 Thread Robert Kern
On Thu, Feb 5, 2009 at 22:17, Travis Oliphant oliph...@enthought.com wrote: Gael Varoquaux wrote: On Thu, Feb 05, 2009 at 05:08:49PM -0600, Travis E. Oliphant wrote: I've been fairly quiet on this list for awhile due to work and family schedule, but I think about how things can improve

Re: [Numpy-discussion] PEP: named axis

2009-02-05 Thread Christopher Barker
Travis Oliphant wrote: What do people think about adding a default dictionary to every instance of a NumPy array. It sound kind of heavyweight to me. I tend to use lots of small arrays (to represent an x,y point, for instance). There are enough performance issues with that as it stands.

Re: [Numpy-discussion] PEP: named axis (was: Selection of only a certain number of fields)

2009-02-05 Thread Olivier Grisel
+1 On Feb 6, 2009 12:16 AM, Gael Varoquaux gael.varoqu...@normalesup.org wrote: On Thu, Feb 05, 2009 at 05:08:49PM -0600, Travis E. Oliphant wrote: I've been fairly quiet on this list for awhile due to work and family schedule, but I think about how things can improve regularly.One

Re: [Numpy-discussion] Selection of only a certain number of fields

2009-02-05 Thread Francesc Alted
A Friday 06 February 2009, Travis Oliphant escrigué: Pierre GM wrote: On Feb 5, 2009, at 6:08 PM, Travis E. Oliphant wrote: Hi all, I've been fairly quiet on this list for awhile due to work and family schedule, but I think about how things can improve regularly.One feature that's