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

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] Scipy Conference 2009 Lecture Recordings

2009-07-17 Thread Peter Alexander
On Thu, Jul 16, 2009 at 6:39 PM, Gökhan SEVER gokhanse...@gmail.com wrote: On Thu, Jul 16, 2009 at 4:30 PM, Fernando Perez fperez@gmail.comwrote: 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

[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 ___

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

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

2009-07-17 Thread Keith Goodman
On Fri, Jul 17, 2009 at 6:21 AM, Gary Rubengru...@bigpond.net.au 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

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 ralf.gomm...@googlemail.com 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.

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 dsdal...@gmail.com wrote: 2009/7/13 Stéfan van der Walt ste...@sun.ac.za Hi Darren 2009/7/13 Darren Dale dsdal...@gmail.com: I've put together a first cut at implementing __array_prepare__, which appears to work, and I would like to request

[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] [SciPy-user] [ANN] Announcing the SciPy conference schedule

2009-07-17 Thread Robert Kern
On Fri, Jul 17, 2009 at 02:38, william ratcliffwilliam.ratcl...@gmail.com 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

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 dsdal...@gmail.com wrote: On Mon, Jul 13, 2009 at 7:12 PM, Darren Dale dsdal...@gmail.com wrote: 2009/7/13 Stéfan van der Walt ste...@sun.ac.za Hi Darren 2009/7/13 Darren Dale dsdal...@gmail.com: I've put together a first cut at implementing

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 dsdal...@gmail.com wrote: On Fri, Jul 17, 2009 at 10:03 AM, Darren Dale dsdal...@gmail.com wrote: On Mon, Jul 13, 2009 at 7:12 PM, Darren Dale dsdal...@gmail.com wrote: 2009/7/13 Stéfan van der Walt ste...@sun.ac.za Hi Darren 2009/7/13 Darren

[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

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 and

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 SEVERgokhanse...@gmail.com 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

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

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

2009-07-17 Thread Fernando Perez
On Fri, Jul 17, 2009 at 11:29 AM, Jonathan Taylorjonathan.tay...@utoronto.ca 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

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 SEVERgokhanse...@gmail.com 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

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 stdin, line 1, in module File /home/jtaylor/lib/python2.5/site-packages/numpy/__init__.py, line 130, in

[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

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 ralf.gomm...@googlemail.com 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

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

2009-07-17 Thread Pauli Virtanen
On 2009-07-17, Hans Meine me...@informatik.uni-hamburg.de 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]

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 module from linalg import * File /home/jtaylor/lib/python2.5/site-packages/numpy/linalg/ linalg.py, line 22, in module from numpy.linalg import

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

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

2009-07-17 Thread Dave Grote
Pauli Virtanen wrote: On 2009-07-17, Hans Meine me...@informatik.uni-hamburg.de 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