Re: [Numpy-discussion] Error code of NumpyTest()

2007-08-30 Thread Stefan van der Walt
On Thu, Aug 30, 2007 at 12:48:44PM +0300, Pearu Peterson wrote: > The svn version of test() function now returns TestResult object. > > So, test() calls in buildbot should read: > > import numpy,sys; sys.exit(not > numpy.test(verbosity=,level=).wasSuccessful()) > > Hopefully buildbot a

Re: [Numpy-discussion] Accessing a numpy array in a mmap fashion

2007-08-30 Thread Anne Archibald
On 30/08/2007, Brian Donovan <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm wondering if there is a way to use a numpy array that uses disk as a > memory store rather than ram. I'm looking for something like mmap but which > can be used like a numpy array. The general idea is this. I'm simulatin

Re: [Numpy-discussion] Accessing a numpy array in a mmap fashion

2007-08-30 Thread Ryan May
Brian Donovan wrote: > Hello all, > > I'm wondering if there is a way to use a numpy array that uses disk as > a memory store rather than ram. I'm looking for something like mmap but > which can be used like a numpy array. The general idea is this. I'm > simulating a system which produces a larg

[Numpy-discussion] numpy build fails on powerpc ydl

2007-08-30 Thread Vincent Broman
My build of numpy fails under Yellow Dog Linux 2.1, running on a powerpc multiprocessor board from Curtiss-Wright. Its kernel is 2.4.19-Asmp tailored by the vendor. The gcc compiler is configured as ppc-yellowdog-linux with version number 2.95.3 20010111. The python I'm using is Python 2.5.1 (r251

[Numpy-discussion] Accessing a numpy array in a mmap fashion

2007-08-30 Thread Brian Donovan
Hello all, I'm wondering if there is a way to use a numpy array that uses disk as a memory store rather than ram. I'm looking for something like mmap but which can be used like a numpy array. The general idea is this. I'm simulating a system which produces a large dataset over a few hours of pro

[Numpy-discussion] Units; was Bug or surprising undocumented behaviour in irfft

2007-08-30 Thread Bryan Van de Ven
> Do you know if there's a current package to associate units with numpy > arrays? For my purposes it would usually be sufficient to have arrays > of quantities with uniform units. Conversions need only be > multiplicative (I don't care about Celsius-to-Fahrenheit style > conversions) and need not

Re: [Numpy-discussion] Error code of NumpyTest()

2007-08-30 Thread Matthieu Brucher
Thank you for the answer The svn version of test() function now returns TestResult object. Numpy 1.3.x does not provide this ? I can't upgrade the numpy packages on the Linux boxes (on the Windows box, I suppose that I could use an Enthought egg). So, test() calls in buildbot should read: >

Re: [Numpy-discussion] Error code of NumpyTest()

2007-08-30 Thread Pearu Peterson
On Fri, August 24, 2007 11:41 am, Matthieu Brucher wrote: > Hi, > > I wondered if there was a way of returning another error code than 0 when > executing the test suite so that a parent process can immediately know if > all the tests passed or not. > The numpy buildbot seems to have the same behavi

Re: [Numpy-discussion] Citing Numeric and numpy

2007-08-30 Thread Peter
Thank you Ryan & Alan for the feedback - the three references are summarized here for anyone searching for the citations in future. The recent overview was: Travis E. Oliphant, "Python for Scientific Computing," Computing in Science & Engineering, vol. 9, no. 3, May/June 2007, pp. 10-20. Numeri