Re: [Numpy-discussion] Problem with ML subscriptions?

2009-07-04 Thread Stéfan van der Walt
2009/7/5 Pauli Virtanen : > 2009-07-04 22:52 +0200, Fons Adriaensen wrote: > [clip] >> I subscribed to numpy-discussion almost two days ago. >> I do receive messages from the list, but the ones I post >> don't appear. I wrote to numpy-discussion-ow...@scipy.org >> but got no response so far. So it

Re: [Numpy-discussion] Problem with ML subscriptions?

2009-07-04 Thread Pauli Virtanen
2009-07-04 22:52 +0200, Fons Adriaensen wrote: [clip] > I subscribed to numpy-discussion almost two days ago. > I do receive messages from the list, but the ones I post > don't appear. I wrote to numpy-discussion-ow...@scipy.org > but got no response so far. So it looks that either this > list do

[Numpy-discussion] assigning ma.masked. Strange behavior

2009-07-04 Thread Ben Park
import numpy as np import numpy.ma as ma # There is no effect on the following assignment of ma.masked. a1 = ma.arange(10).reshape((2,5)) a1.ravel()[np.array([0,2,2])] = ma.masked # The following works: a1 = ma.arange(10) a1[np.array([0,2,2])] = ma.masked a1.shape = 2,5 -- View this message

[Numpy-discussion] Adding new functions to Numpy

2009-07-04 Thread Pauli Virtanen
Hi, When you add new functions to Numpy, please include .. versionadded:: 1.4.0 in the Notes section of the function's docstring, and add the functions to an appropriate section of the reference guide. Like this: http://projects.scipy.org/numpy/changeset/7107 This way, users can keep

Re: [Numpy-discussion] argwhere does not accept py list

2009-07-04 Thread Stéfan van der Walt
Thanks, Scott. This should now be fixed in SVN. 2009/7/3 Scott Sinclair : > Index: numpy/core/numeric.py > === > --- numpy/core/numeric.py       (revision 7095) > +++ numpy/core/numeric.py       (working copy) > @@ -535,7 +535,7 @@ >