Re: [Numpy-discussion] VIGRA, NumPy and Fortran-order (again)

2009-07-17 Thread Dave Grote
Pauli Virtanen wrote: On 2009-07-17, Hans Meine wrote: If I understood Travis' comments in the above-mentioned thread [1] correctly, this would already fix some of the performance issues along the way (since it would suddenly allow the use of special, optimized code paths).

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2009-07-17 Thread David Warde-Farley
On 17-Jul-09, at 4:20 PM, David Warde-Farley wrote: > It doesn't look like you ATLAS is linked together properly, > specifically fblas. What fortran compiler are you using? > > ImportError: /usr/local/lib/libptcblas.so: undefined symbol: ATL_cpttrsm Errr, nevermind. I seem to have very selec

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2009-07-17 Thread David Warde-Farley
On 17-Jul-09, at 3:57 PM, Jonathan Taylor wrote: > File "/home/jtaylor/lib/python2.5/site-packages/numpy/linalg/ > __init__.py", > line 47, in >from linalg import * > File "/home/jtaylor/lib/python2.5/site-packages/numpy/linalg/ > linalg.py", > line 22, in >from numpy.linalg import l

Re: [Numpy-discussion] VIGRA, NumPy and Fortran-order (again)

2009-07-17 Thread Pauli Virtanen
On 2009-07-17, Hans Meine wrote: [clip] > As discussing in-depth in [1], numpy does not support Fortran order very > well. > First, there are performance issues, but even more important: the order is > not > preserved when performing simple operations. :-( [clip] > The specs would be: preserv

Re: [Numpy-discussion] Using interpolate with zero-rank array raises error

2009-07-17 Thread Tony Yu
Date: Fri, 17 Jul 2009 13:27:25 -0400 From: Ralf Gommers Subject: Re: [Numpy-discussion] Using interpolate with zero-rank array raises error [snip] If it works with scalars it should work with 0-D arrays I think. So you should probably open a ticket and attach your patch. Thanks f

[Numpy-discussion] ANN: SciPy 2009 early registration extended to July 22nd

2009-07-17 Thread Jarrod Millman
The early registration deadline for SciPy 2009 has been extended until Wednesday, July 22, 2009. Please register ( http://conference.scipy.org/to_register ) by this date to take advantage of the reduced early registration rate. Since we just announced the conference schedule, I was asked to provid

Re: [Numpy-discussion] performance matrix multiplication vs. matlab

2009-07-17 Thread Jonathan Taylor
Following these instructions I have the following problem when I import numpy. Does anyone know why this might be? Thanks, Jonathan. >>> import numpy Traceback (most recent call last): File "", line 1, in File "/home/jtaylor/lib/python2.5/site-packages/numpy/__init__.py", line 130, in

Re: [Numpy-discussion] Scipy Conference 2009 Lecture Recordings

2009-07-17 Thread Fernando Perez
On Fri, Jul 17, 2009 at 10:37 AM, Gökhan SEVER wrote: > Your recently posted mayavi tutorial video and Fernando's previous > py4science recordings in very good quality. BTW, for those interested, mine are a 2-day intro course on python/science (similar in spirit to our upcoming introductory tutori

Re: [Numpy-discussion] Scipy Conference 2009 Lecture Recordings

2009-07-17 Thread Fernando Perez
On Fri, Jul 17, 2009 at 11:29 AM, Jonathan Taylor wrote: > I would also like to see this.  Have we looked at using videolectures.net? > > In my field, the people from videolectures.net takes care of filming > and editing.  I am not sure, but they might actually be free as they > have a big grant fr

Re: [Numpy-discussion] Scipy Conference 2009 Lecture Recordings

2009-07-17 Thread Jonathan Taylor
I would also like to see this. Have we looked at using videolectures.net? In my field, the people from videolectures.net takes care of filming and editing. I am not sure, but they might actually be free as they have a big grant from the EU to do this sort of thing. It might be worth pinging the

Re: [Numpy-discussion] Scipy Conference 2009 Lecture Recordings

2009-07-17 Thread Jarrod Millman
On Fri, Jul 17, 2009 at 10:37 AM, Gökhan SEVER wrote: > I think, it would be great to have a similar equipment setup during the > SciPy09. Absolutely. It would be *great* to have the tutorials and talks recorded. If anyone steps up to bring equipment, record the talks, and post them, everyone wo

Re: [Numpy-discussion] Scipy Conference 2009 Lecture Recordings

2009-07-17 Thread Gökhan SEVER
On Thu, Jul 16, 2009 at 10:05 AM, Gael Varoquaux < gael.varoqu...@normalesup.org> wrote: > On Wed, Jul 15, 2009 at 11:29:27PM -0400, Peter Alexander wrote: > >I sure wish I was able to attend this year's event. > >I'm wondering, and really hoping, if/that the lectures will be > recorded >

Re: [Numpy-discussion] Using interpolate with zero-rank array raises error

2009-07-17 Thread Ralf Gommers
On Fri, Jul 17, 2009 at 9:51 AM, Tony Yu wrote: > > Date: Thu, 16 Jul 2009 23:37:58 -0400 > From: Ralf Gommers > > It seems to me that there are quite a few other functions that will give > errors with 0-D arrays (apply_along/over_axis are two that come to mind). > There is nothing to interpolat

[Numpy-discussion] Universal file format

2009-07-17 Thread Nils Wagner
Hi all, Is there a Python tool to read and write files in the so-called universal format ? I found a Matlab implementation http://www.mathworks.com/matlabcentral/fileexchange/6395 Any pointer would be appreciated. Thanks in advance Nils http://ww

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-07-17 Thread Charles R Harris
On Fri, Jul 17, 2009 at 9:44 AM, Darren Dale wrote: > On Fri, Jul 17, 2009 at 10:03 AM, Darren Dale wrote: > >> On Mon, Jul 13, 2009 at 7:12 PM, Darren Dale wrote: >> >>> 2009/7/13 Stéfan van der Walt >>> Hi Darren 2009/7/13 Darren Dale : > I've put together a first cut at

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-07-17 Thread Darren Dale
On Fri, Jul 17, 2009 at 10:03 AM, Darren Dale wrote: > On Mon, Jul 13, 2009 at 7:12 PM, Darren Dale wrote: > >> 2009/7/13 Stéfan van der Walt >> >>> Hi Darren >>> >>> 2009/7/13 Darren Dale : >>> > I've put together a first cut at implementing __array_prepare__, which >>> > appears to work, and

Re: [Numpy-discussion] [SciPy-user] [ANN] Announcing the SciPy conference schedule

2009-07-17 Thread Robert Kern
On Fri, Jul 17, 2009 at 02:38, william ratcliff wrote: > A humble suggestion--for the March meeting of the american physical society, > there is a roommate finder for splitting hotel rooms.  This could be useful > in keeping expenses down for some.  There should be a way to do it without > liabilit

[Numpy-discussion] VIGRA, NumPy and Fortran-order (again)

2009-07-17 Thread Hans Meine
Hi, as I mentioned in the past [1], we considered refactoring our VIGRA (an image analysis library [2]) python bindings to be based on NumPy [3]. However, we have the problem that VIGRA uses Fortran-order indexing (i.e. there's operator()(x, y) in C++), and this should of course be the same in

Re: [Numpy-discussion] suggestion for generalizing numpy functions

2009-07-17 Thread Darren Dale
On Mon, Jul 13, 2009 at 7:12 PM, Darren Dale wrote: > 2009/7/13 Stéfan van der Walt > >> Hi Darren >> >> 2009/7/13 Darren Dale : >> > I've put together a first cut at implementing __array_prepare__, which >> > appears to work, and I would like to request feedback. Here is an >> overview >> > of

Re: [Numpy-discussion] Using interpolate with zero-rank array raises error

2009-07-17 Thread Tony Yu
Date: Thu, 16 Jul 2009 23:37:58 -0400 From: Ralf Gommers It seems to me that there are quite a few other functions that will give errors with 0-D arrays (apply_along/over_axis are two that come to mind). There is nothing to interpolate so I'm not surprised. Hmm, I don't quite understand

Re: [Numpy-discussion] Mirror/flip numpy array?

2009-07-17 Thread Keith Goodman
On Fri, Jul 17, 2009 at 6:21 AM, Gary Ruben wrote: > In [1]: a=array([1,2,3]) > > In [2]: a[::-1] > Out[2]: array([3, 2, 1]) > > > Johannes Bauer wrote: >> Hello list, >> >> I have a really simple newbie question: How can I mirror/flip a >> numpy.ndarray? I.e. mirror switches the colums (leftmost b

Re: [Numpy-discussion] Mirror/flip numpy array?

2009-07-17 Thread Gary Ruben
In [1]: a=array([1,2,3]) In [2]: a[::-1] Out[2]: array([3, 2, 1]) Johannes Bauer wrote: > Hello list, > > I have a really simple newbie question: How can I mirror/flip a > numpy.ndarray? I.e. mirror switches the colums (leftmost becomes > rightmost and so on), flip changes the rows (top becomes

[Numpy-discussion] Mirror/flip numpy array?

2009-07-17 Thread Johannes Bauer
Hello list, I have a really simple newbie question: How can I mirror/flip a numpy.ndarray? I.e. mirror switches the colums (leftmost becomes rightmost and so on), flip changes the rows (top becomes bottom and so on)? Kind regards, Joe ___ NumPy-Discussi

Re: [Numpy-discussion] Scipy Conference 2009 Lecture Recordings

2009-07-17 Thread Peter Alexander
On Thu, Jul 16, 2009 at 6:39 PM, Gökhan SEVER wrote: > > > On Thu, Jul 16, 2009 at 4:30 PM, Fernando Perez wrote: > >> >> If someone has a camera that can do the recordings in a format that >> can then be directly recompressed at the command line with something >> like mencoder, that would be gre

Re: [Numpy-discussion] alternative mechanism for initializing anarray

2009-07-17 Thread Citi, Luca
Hello, all these alternative mechanisms for initializing arrays risk to break current code. Isn't it? Then one would need to specify the data type with a kw argument while with the current implementation the second argument is the data type irregardless of whether or not it is given with the dtype

Re: [Numpy-discussion] [ANN] Announcing the SciPy conference schedule

2009-07-17 Thread william ratcliff
A humble suggestion--for the March meeting of the american physical society, there is a roommate finder for splitting hotel rooms. This could be useful in keeping expenses down for some. There should be a way to do it without liability Cheers, William On Wed, Jul 15, 2009 at 10:13 PM, Gael V