Re: [Numpy-discussion] SciPy 2006 LiveCD torrent is available

2006-08-11 Thread ainulinde
can't get any seeds for this torrent and any other download methods? thanks On 8/11/06, Bryce Hendrix [EMAIL PROTECTED] wrote: For those not able to make SciPy 2006 next week, or who would like to download the ISO a few days early, its available at

Re: [Numpy-discussion] SciPy 2006 LiveCD torrent is available

2006-08-11 Thread ainulinde
Bryce, thanks. this http works for me, the download speed is about 30k/s and the bt can't download anything, just one ip in the userlist(can't download anything from him/her).don't know why. maybe there is sth wrong with my network. On 8/11/06, Bryce Hendrix [EMAIL PROTECTED] wrote: For those

Re: [Numpy-discussion] numpy.ascontiguousarray on byteswapped data !?

2006-08-11 Thread Sebastian Haase
On Thursday 10 August 2006 21:32, Sebastian Haase wrote: Travis Oliphant wrote: Sebastian Haase wrote: Hi, Does numpy.ascontiguousarray(arr) fix the byteorder when arr is non-native byteorder ? If not, what functions does ? It can if you pass in a data-type with the right

Re: [Numpy-discussion] numpy.ascontiguousarray on byteswapped data !?

2006-08-11 Thread Travis Oliphant
Sebastian Haase wrote: I just found this in myCVS/numpy/numpy/core/tests/test_numerictypes.py code def normalize_descr(descr): Normalize a description adding the platform byteorder. return out /code Is that what I was talking about !? It's quite a big animal. Would this

[Numpy-discussion] Memory leak in array protocol numarray--numpy

2006-08-11 Thread Francesc Altet
Hi, I was tracking down a memory leak in PyTables and it boiled down to a problem in the array protocol. The issue is easily exposed by: for i in range(100): numarray.array(numpy.zeros(dtype=numpy.float64, shape=3)) and looking at the memory consumption of the process. The same happens

Re: [Numpy-discussion] Memory leak in array protocol numarray--numpy

2006-08-11 Thread Todd Miller
Francesc Altet wrote: Hi, I was tracking down a memory leak in PyTables and it boiled down to a problem in the array protocol. The issue is easily exposed by: for i in range(100): numarray.array(numpy.zeros(dtype=numpy.float64, shape=3)) and looking at the memory consumption of

[Numpy-discussion] bug ! arr.mean() outside arr.min() .. arr.max() range

2006-08-11 Thread Sebastian Haase
Hi! b is a non-native byteorder array of type int16 but see further down: same after converting to native ... repr(b.dtype) 'dtype('i2')' b.dtype.isnative False b.shape (38, 512, 512) b.max() 1279 b.min() 0 b.mean() -65.279878014 U.mmms(b) # my useful function for min,max,mean,stddev (0,

Re: [Numpy-discussion] numpy.ascontiguousarray on byteswapped data !?

2006-08-11 Thread Francesc Altet
A Divendres 11 Agost 2006 22:02, Travis Oliphant va escriure: Sebastian Haase wrote: I just found this in myCVS/numpy/numpy/core/tests/test_numerictypes.py code def normalize_descr(descr): Normalize a description adding the platform byteorder. return out /code Is that

Re: [Numpy-discussion] bug ! arr.mean() outside arr.min() .. arr.max() range

2006-08-11 Thread Travis Oliphant
Sebastian Haase wrote: Hi! b is a non-native byteorder array of type int16 but see further down: same after converting to native ... repr(b.dtype) 'dtype('i2')' The problem is no-doubt related to wrapping for integers. Your total is getting too large to fit into the

Re: [Numpy-discussion] Memory leak in array protocol numarray--numpy

2006-08-11 Thread Travis Oliphant
Todd Miller wrote: I looked at this a little with a debug python and figure it's a bug in numpy.zeros(): Hmmm. I thought of that, but could not get any memory leak by just creating zeros in a four loop. In other words: for i in xrange(1000):

[Numpy-discussion] why is default axis always different?

2006-08-11 Thread Sven Schreiber
Hi, notice the (confusing, imho) different defaults for the axis of the following related functions: nansum(a, axis=-1) Sum the array over the given axis, treating NaNs as 0. sum(x, axis=None, dtype=None) Sum the array over the given axis. The optional dtype argument is the data

Re: [Numpy-discussion] Memory leak in array protocol numarray--numpy

2006-08-11 Thread Travis Oliphant
Francesc Altet wrote: Hi, I was tracking down a memory leak in PyTables and it boiled down to a problem in the array protocol. The issue is easily exposed by: for i in range(100): numarray.array(numpy.zeros(dtype=numpy.float64, shape=3)) More data: The following code does not

Re: [Numpy-discussion] Memory leak in array protocol numarray--numpy

2006-08-11 Thread Travis Oliphant
Francesc Altet wrote: Hi, I was tracking down a memory leak in PyTables and it boiled down to a problem in the array protocol. The issue is easily exposed by: for i in range(100): numarray.array(numpy.zeros(dtype=numpy.float64, shape=3)) and looking at the memory consumption of

Re: [Numpy-discussion] bug ! arr.mean() outside arr.min() .. arr.max() range

2006-08-11 Thread Sebastian Haase
Travis Oliphant wrote: Sebastian Haase wrote: Hi! b is a non-native byteorder array of type int16 but see further down: same after converting to native ... repr(b.dtype) 'dtype('i2')' The problem is no-doubt related to wrapping for integers. Your total is getting too

[Numpy-discussion] is cygwin patch from from ticket #114 still working !?

2006-08-11 Thread Sebastian Haase
This is what I get ? [EMAIL PROTECTED]:~/myCVS/numpy: patch.exe -b -p0 ~/winbuilding3.diff patching file numpy/distutils/misc_util.py Reversed (or previously applied) patch detected! Assume -R? [n] Thanks, Sebastian -

[Numpy-discussion] Does a C-API mismatch require a fatal(!) program termination !? (crash on import !)

2006-08-11 Thread Sebastian Haase
Hi, I was just wondering if it might be possible to raise an ImportError instead of terminating python; look what I get: [EMAIL PROTECTED]:~: python Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information.