Re: [Numpy-discussion] ide for python/numpy/scipy/mpl, , development ?

2006-10-09 Thread Eric Emsellem
. Documentation is pretty good too. > www.wingware.com. Free trial so you can see if you like it first. > > --bb -- Eric Emsellem [EMAIL PROTECTED] Centre de Recherche Astrophysique de Lyon 9 av. Charles-

Re: [Numpy-discussion] ide for python/numpy/scipy/mpl, development ?

2006-10-09 Thread Eric Emsellem
tall eric3, and after checking QScintilla, python-qt, etc, I launch the installation of eric3 with python install.py and I get a seg fault.. frustrating. Eric On 10/6/06, Robert Kern <[EMAIL PROTECTED]> wrote: > > > > Eric Emsellem wrote: > >> > > Hi, >>

[Numpy-discussion] ide for python/numpy/scipy/mpl development ?

2006-10-06 Thread Eric Emsellem
Hi, I am looking for an IDE to develop python programs and I am not sure what to take. The two critical items for me are 1/ a good debugger (simple and efficient) 2/ something simple to manage the files. I would also very much like to keep some basic things such as (if possible): - editing with

Re: [Numpy-discussion] buggy buggy bugyy: format and casting ==> BUG in numpy.sum?

2006-09-18 Thread Eric Emsellem
Hi again after some hours of debugging I finally (I think) found the problem: numpy.sum([[0,1,2],[2,3,4]]) 24 numpy.sum([[0,1,2],[2,3,4]],axis=0) array([2, 4, 6]) numpy.sum([[0,1,2],[2,3,4]],axis=1) array([3, 9]) Isn't the first line supposed to act as with "axis=0" by default (see help numpy

[Numpy-discussion] buggy buggy bugyy: format and casting ?

2006-09-15 Thread Eric Emsellem
Hi, I am facing a rather frustrating problem with numpy/scipy: after upgrading to svn numpy and scipy, and trying to remove most of the now unnecessary casting (floats) the program I wrote does not give me the right answer. It seems that the answer is somewhat scaled down (but not in a simple way)

Re: [Numpy-discussion] fast way of doing "cross-multiplications" ?

2006-07-18 Thread Eric Emsellem
(is "sum" different than "add.reduce"?) thanks again to both Bill Baxter and Perry Greenfield for their fast (and helpful!) answers. cheers Eric Perry Greenfield wrote: > > On Jul 18, 2006, at 10:23 AM, Eric Emsellem wrote: > >> Hi, >> >>

[Numpy-discussion] fast way of doing "cross-multiplications" ?

2006-07-18 Thread Eric Emsellem
Hi, I have a specific quantity to derive from an array, and I am at the moment unable to do it for a too large array because it just takes too long! So I am looking for an advice on how to efficiently compute such a quantity: I have 3 arrays of N floats (x[...], y[..], z[..]) and I wish to do: r

[Numpy-discussion] problem with numpy.. sometimes using numarray? and selection question

2006-06-15 Thread Eric Emsellem
ch path ['/usr/local/lib/python2.4/site-packages/matplotlib/mpl-data'] backend GTKAgg version 2.8.2 Python 2.4.2 (#1, May 2 2006, 08:13:46) IPython 0.7.2 -- An enhanced Interactive Python. I am using numerix = numpy in matplotlibrc. I am also using NUMERIX = numpy when building pyfits.

[Numpy-discussion] installation problems: stupid question

2006-06-14 Thread Eric Emsellem
Hi, I just switched to Suse 10.1 (from Suse 10.0) and for some reason now the new installed modules do not go under /usr/lib/python2.4/site-packages/ as usual but under /usr/local/lib/python2.4/site-packages/ (the "local" is the difference). How can I go back to the normal setting ? thanks a lo