Re: [Numpy-discussion] NumPy Governance

2011-12-28 Thread Travis Oliphant
That was an extremely helpful and useful post. Thank you Ondrej for sharing it and taking the time to provide that insight. Travis -- Travis Oliphant (on a mobile) 512-826-7480 On Dec 29, 2011, at 12:51 AM, Ondrej Certik wrote: > On Mon, Dec 5, 2011 at 4:22 AM, Perry Greenfield wrote: >>

Re: [Numpy-discussion] NumPy Governance

2011-12-28 Thread Ondrej Certik
On Mon, Dec 5, 2011 at 4:22 AM, Perry Greenfield wrote: > I'm not sure I'm crazy about leaving final decision making for a > board. A board may be a good way of carefully considering the issues, > and it could make it's own recommendation (with a sufficient > majority). But in the end I think one

[Numpy-discussion] fft help

2011-12-28 Thread Burlen Loring
Hi I have an image I need to do an fft on, I tried numpy.fft but results are not what I expected, and differ from matlab. My input image is a weird size, 5118x1279, I think numpy fft is not liking it. In numpy the fft appears to be computed multiple times and tiled across the output image. In o

Re: [Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Olivier Delalleau
2011/12/28 Jordi Gutiérrez Hermoso > On 28 December 2011 13:41, Ralf Gommers > wrote: > > > > > > 2011/12/28 Jordi Gutiérrez Hermoso > >> > >> Just FYI, the next stable release of Octave (3.6) will have > >> broadcasting. I used Numpy as an inspiration. > >> > >> Here is the WIP manual for it:

Re: [Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Jordi Gutiérrez Hermoso
On 28 December 2011 13:41, Ralf Gommers wrote: > > > 2011/12/28 Jordi Gutiérrez Hermoso >> >> Just FYI, the next stable release of Octave (3.6) will have >> broadcasting. I used Numpy as an inspiration. >> >> Here is the WIP manual for it: >> >> >>  http://jordi.platinum.linux.pl/octave.html/Broa

Re: [Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Ralf Gommers
2011/12/28 Jordi Gutiérrez Hermoso > Just FYI, the next stable release of Octave (3.6) will have > broadcasting. I used Numpy as an inspiration. > > Here is the WIP manual for it: > > > http://jordi.platinum.linux.pl/octave.html/Broadcasting.html#Broadcasting > That looks good. Should be much ni

[Numpy-discussion] How's our broadcasting?

2011-12-28 Thread Jordi Gutiérrez Hermoso
Just FYI, the next stable release of Octave (3.6) will have broadcasting. I used Numpy as an inspiration. Here is the WIP manual for it: http://jordi.platinum.linux.pl/octave.html/Broadcasting.html#Broadcasting I want to thank Numpy both for the inspiration and for any comments you may have

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Jordi Gutiérrez Hermoso
On 28 December 2011 03:33, Ralf Gommers wrote: > > > 2011/12/27 Jordi Gutiérrez Hermoso >> >> On 26 December 2011 14:56, Ralf Gommers >> wrote: >> > >> > >> > On Mon, Dec 26, 2011 at 8:50 PM, wrote: >> >> I have a hard time thinking through empty 2-dim arrays, and don't know >> >> what rules sh

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Travis Oliphant
I agree with Dag, NumPy should provide consistent handling of empty arrays. It does require some work, but it should be at least declared a bug when it doesn't. Travis -- Travis Oliphant (on a mobile) 512-826-7480 On Dec 28, 2011, at 7:45 AM, Dag Sverre Seljebotn wrote: > On 12/28/2011

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Ralf Gommers
On Wed, Dec 28, 2011 at 2:45 PM, Dag Sverre Seljebotn < d.s.seljeb...@astro.uio.no> wrote: > On 12/28/2011 02:21 PM, Ralf Gommers wrote: > > > > > > On Wed, Dec 28, 2011 at 1:57 PM, Dag Sverre Seljebotn > > mailto:d.s.seljeb...@astro.uio.no>> wrote: > > > > On 12/28/2011 01:52 PM, Dag Sverre S

[Numpy-discussion] dtype related deprecations

2011-12-28 Thread Ralf Gommers
Hi, I'm having some trouble cleaning up tests to deal with these two deprecations: DeprecationWarning: Setting NumPy dtype names is deprecated, the dtype will become immutable in a future version DeprecationWarning: DType strings 'O4' and 'O8' are deprecated because they are platform specific. Us

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Dag Sverre Seljebotn
On 12/28/2011 02:21 PM, Ralf Gommers wrote: > > > On Wed, Dec 28, 2011 at 1:57 PM, Dag Sverre Seljebotn > mailto:d.s.seljeb...@astro.uio.no>> wrote: > > On 12/28/2011 01:52 PM, Dag Sverre Seljebotn wrote: > > On 12/28/2011 09:33 AM, Ralf Gommers wrote: > >> > >> > >> 2011/12

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Ralf Gommers
On Wed, Dec 28, 2011 at 1:57 PM, Dag Sverre Seljebotn < d.s.seljeb...@astro.uio.no> wrote: > On 12/28/2011 01:52 PM, Dag Sverre Seljebotn wrote: > > On 12/28/2011 09:33 AM, Ralf Gommers wrote: > >> > >> > >> 2011/12/27 Jordi Gutiérrez Hermoso >> > > >> > >> On 26 De

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Dag Sverre Seljebotn
On 12/28/2011 01:52 PM, Dag Sverre Seljebotn wrote: > On 12/28/2011 09:33 AM, Ralf Gommers wrote: >> >> >> 2011/12/27 Jordi Gutiérrez Hermoso> > >> >> On 26 December 2011 14:56, Ralf Gommers> > wrote: >> > >> > >>

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Dag Sverre Seljebotn
On 12/28/2011 09:33 AM, Ralf Gommers wrote: > > > 2011/12/27 Jordi Gutiérrez Hermoso > > > On 26 December 2011 14:56, Ralf Gommers > wrote: > > > > > > On Mon, Dec 26, 2011 at 8:50 PM,

Re: [Numpy-discussion] Functions vs Methods

2011-12-28 Thread Robert Kern
On Wed, Dec 28, 2011 at 06:39, Jaidev Deshpande wrote: > Hi > > It is said that function calls are expensive. Does that mean one must > use available methods instead? For the most part, it usually doesn't matter enough to care about. Whether you use the methods or the functions should be dominate

Re: [Numpy-discussion] trouble building numpy 1.6.1 on Scientific Linux 5

2011-12-28 Thread Ralf Gommers
On Wed, Dec 21, 2011 at 10:05 PM, Russell E. Owen wrote: > In article > , > Ralf Gommers wrote: > > > On Tue, Dec 20, 2011 at 10:52 PM, Russell E. Owen wrote: > > > > > In article , > > > "Russell E. Owen" wrote: > > > > > > > In article > > > > >, > > > > Ralf Gommers wrote: > > > > > >

Re: [Numpy-discussion] Indexing empty dimensions with empty arrays

2011-12-28 Thread Ralf Gommers
2011/12/27 Jordi Gutiérrez Hermoso > On 26 December 2011 14:56, Ralf Gommers > wrote: > > > > > > On Mon, Dec 26, 2011 at 8:50 PM, wrote: > >> I have a hard time thinking through empty 2-dim arrays, and don't know > >> what rules should apply. > >> However, in my code I might want to catch thes