Re: [Numpy-discussion] subclassing ndarray and recarray

2007-05-10 Thread Pierre GM
Bernhard, Looks like you have to modify your __getitem__ and __getslice__ methods. The following seems to work in simple cases. The numpy.array in front of numpy.ndarray.__getxxx__ is to transform the 'numpy.void def __getitem__(self, key): if isinstance(key, arraydict) and key.dtyp

[Numpy-discussion] NumPy 1.0.3 release next week

2007-05-10 Thread Travis Oliphant
Hi all, I'd like to relase NumPy 1.0.3 next week (on Tuesday) along with a new release of SciPy. Please let me know of changes that you are planning on making before then. Best, -Travis ___ Numpy-discussion mailing list Numpy-discussion@scipy.org

[Numpy-discussion] numpy version of Interactive Data Analysis tutorial available

2007-05-10 Thread Perry Greenfield
I have updated the "Using Python for Interactive Data Analysis" tutorial to use numpy instead of numarray (finally!). There are further improvements I would like to make in its organization and formatting (in the process including suggestions others have made to that end), but I'd rather ge

Re: [Numpy-discussion] subclassing ndarray and recarray

2007-05-10 Thread Bernhard Voigt
Sorry for the spam, but I didn't modify the subject of the previous mail. Here's the message again but now with the right subject: Dear Pierre, I've attached the arraydict implementation file. You can run it and take a look at the following example on your own: In [25]: run arraydict.py create

Re: [Numpy-discussion] 6 new messages in 4 topics - abridged

2007-05-10 Thread Bernhard Voigt
Dear Pierre, I've attached the arraydict implementation file. You can run it and take a look at the following example on your own: In [25]: run arraydict.py creates an arraydict with 10 elements in the current scope. Keys are the index numbers of items In [26]: a Out[26]: arraydict([(-0.514307