Re: [Numpy-discussion] NumPy 1.0.3 release next week

2007-05-12 Thread Albert Strasheim
On Fri, 11 May 2007, Travis Oliphant wrote: Thanks for the ticket reviews, Albert. That is really helpful. My pleasure. Found two more issues that look like they could be addressed: http://projects.scipy.org/scipy/numpy/ticket/422 http://projects.scipy.org/scipy/numpy/ticket/450 Cheers,

Re: [Numpy-discussion] NumPy 1.0.3 release next week

2007-05-12 Thread Albert Strasheim
Hello all On Fri, 11 May 2007, David M. Cooke wrote: I've added a 1.0.3 milestone and set these to them (or to 1.1, according to Travis's comments). I've reviewed some more tickets and filed everything that looks like it can be resolved for this release under 1.0.3. To see which tickets are

Re: [Numpy-discussion] best way of counting time and cputime?

2007-05-12 Thread [EMAIL PROTECTED]
It depends on what you're aiming at. If you want to compare different implementations of some expressions and need to know their average execution times you should use the timeit module. If you want to have the full execution time of a script, time.time (call at the begin and end, compute the

Re: [Numpy-discussion] NumPy 1.0.3 release next week

2007-05-12 Thread Albert Strasheim
I've more or less finished my quick triage effort. Issues remaining to be resolved for the 1.0.3 release: http://projects.scipy.org/scipy/numpy/query?status=newstatus=assignedstatus=reopenedmilestone=1.0.3+Release If they can't be fixed for this release, we should move them over to 1.1 or maybe

[Numpy-discussion] Getting started wiki page

2007-05-12 Thread Gael Varoquaux
Hi all, I would very much link the Getting Started wiki page ( http://scipy.org/Getting_Started ) to the front page. But I am not sure it is of good enough quality so far. Could people please have a look and make comments, or edit the page. Cheers, Gaƫl

Re: [Numpy-discussion] [SciPy-user] Getting started wiki page

2007-05-12 Thread Matthew Brett
I would very much link the Getting Started wiki page ( http://scipy.org/Getting_Started ) to the front page. But I am not sure it is of good enough quality so far. Could people please have a look and make comments, or edit the page. Thank you for doing this. It's pitched very well. Matthew

Re: [Numpy-discussion] NumPy 1.0.3 release next week

2007-05-12 Thread Charles R Harris
On 5/12/07, Albert Strasheim [EMAIL PROTECTED] wrote: I've more or less finished my quick triage effort. Issues remaining to be resolved for the 1.0.3 release: http://projects.scipy.org/scipy/numpy/query?status=newstatus=assignedstatus=reopenedmilestone=1.0.3+Release If they can't be fixed

Re: [Numpy-discussion] best way of counting time and cputime?

2007-05-12 Thread Fernando Perez
On 5/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It depends on what you're aiming at. If you want to compare different implementations of some expressions and need to know their average execution times you should use the timeit module. If you want to have the full execution time of a

Re: [Numpy-discussion] [SciPy-user] Getting started wiki page

2007-05-12 Thread Fernando Perez
On 5/12/07, Gael Varoquaux [EMAIL PROTECTED] wrote: Hi all, I would very much link the Getting Started wiki page ( http://scipy.org/Getting_Started ) to the front page. But I am not sure it is of good enough quality so far. Could people please have a look and make comments, or edit the page.

Re: [Numpy-discussion] [SciPy-user] Getting started wiki page

2007-05-12 Thread Gael Varoquaux
On Sat, May 12, 2007 at 12:12:21PM -0600, Fernando Perez wrote: Thanks a lot for putting time into this, which is extremely useful to newcomers. I got bored of always explaining the same things to project students :-. I think it would be best to start with the -pylab approach from the

Re: [Numpy-discussion] best way of counting time and cputime?

2007-05-12 Thread dmitrey
Is the genutils module not included to standard CPython edition? First of all I'm interested in what is the best way for latter, for to users not need installing anything else. Thx, D. Fernando Perez wrote: On 5/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: It depends on what you're

Re: [Numpy-discussion] [SciPy-user] Getting started wiki page

2007-05-12 Thread Ryan Krauss
You can add the -pylab switch to the desktop shortcut under Windows. I had created a Windows IPython installer that automatically creates a second entry under Start All Programs IPython that includes the -pylab -p scipy option. You can download my installer from here:

Re: [Numpy-discussion] [SciPy-user] Getting started wiki page

2007-05-12 Thread Brian Hawthorne
Seems like it might be convenient for IPython to detect if matplotlib is installed and if it is then to use pylab mode by default (unless specified otherwise with a switch like -nopylab). Brian On 5/12/07, Ryan Krauss [EMAIL PROTECTED] wrote: You can add the -pylab switch to the desktop

Re: [Numpy-discussion] [SciPy-user] Getting started wiki page

2007-05-12 Thread Robert Kern
Brian Hawthorne wrote: Seems like it might be convenient for IPython to detect if matplotlib is installed and if it is then to use pylab mode by default (unless specified otherwise with a switch like -nopylab). That's a bad idea. IPython has some magic, but it shouldn't be that magical. Just

[Numpy-discussion] problems with calculating numpy.float64

2007-05-12 Thread michael . stoelzle
Hello out there, i try to run this Python-code snippet after I have imported: import numpy as Numeric import numpy as numpy Numeric.Int = Numeric.int32 Numeric.Float = Numeric.float64 Code: if m maxN and n maxN and self.activeWide[m+1, n+1]: try:

Re: [Numpy-discussion] problems with calculating numpy.float64

2007-05-12 Thread Robert Kern
[EMAIL PROTECTED] wrote: Hello out there, i try to run this Python-code snippet after I have imported: Can you try to come up with a small, self-contained example? I can't replicate your problem. -- Robert Kern I have come to believe that the whole world is an enigma, a harmless enigma

[Numpy-discussion] very large matrices.

2007-05-12 Thread Dave P. Novakovic
Hi, I have test data of about 75000 x 75000 dimensions. I need to do svd, or at least an eigen decomp on this data. from search suggests to me that the linalg functions in scipy and numpy don't work on sparse matrices. I can't even get empty((1,1),dtype=float) to work (memory errors, or

Re: [Numpy-discussion] numpy array sharing between processes?

2007-05-12 Thread Charles R Harris
On 5/12/07, Andrew Straw [EMAIL PROTECTED] wrote: Ray Schumacher wrote: After Googling for examples on this, in the Cookbook http://www.scipy.org/Cookbook/Multithreading MPI and POSH (dead?), I don't think I know the answer... We have a data collection app running on dual core processors;

Re: [Numpy-discussion] numpy array sharing between processes?

2007-05-12 Thread Ray Schumacher
Andrew added: I'll pitch in a few donuts (and my eternal gratitude) for an example of shared memory use using numpy arrays that is cross platform, or at least works in linux, mac, and windows. I thought that getting the address from the buffer() of the array and creating a new one from it in

Re: [Numpy-discussion] numpy array sharing between processes?

2007-05-12 Thread Andrew Straw
Charles R Harris wrote: I'll pitch in a few donuts (and my eternal gratitude) for an example of shared memory use using numpy arrays that is cross platform, or at least works in linux, mac, and windows. I wonder if you could mmap a file and use it as common memory?

Re: [Numpy-discussion] very large matrices.

2007-05-12 Thread Anne Archibald
On 12/05/07, Dave P. Novakovic [EMAIL PROTECTED] wrote: core 2 duo with 4gb RAM. I've heard about iterative svd functions. I actually need a complete svd, with all eigenvalues (not LSI). I'm actually more interested in the individual eigenvectors. As an example, a single row could probably