[Numpy-discussion] Numpy Example List with Doc updates

2008-01-24 Thread Filip Wasilewski
Hi all, Just a small note. I've updated the `Numpy Example List With Doc`[1] that is linked from the main doc index. Because I'm not always in the loop and the page likes to get out of sync with the base `Numpy Example List`[2] and NumPy, I've posted some instructions[3] that you might find useful

Re: [Numpy-discussion] equivalent to isempty command in matlab (newbie question)

2006-12-06 Thread Filip Wasilewski
On 12/6/06, Robert Kern <[EMAIL PROTECTED]> wrote: > Filip Wasilewski wrote: > > > Just like for other Python objects: > > > > if ifs3: > >print "not empty" > > No, that doesn't work. numpy arrays do not have a truth value. They ra

Re: [Numpy-discussion] equivalent to isempty command in matlab (newbie question)

2006-12-06 Thread Filip Wasilewski
On 12/6/06, Giorgio Luciano <[EMAIL PROTECTED]> wrote: > Today I've also posted a question to scipy groups because I've thought > I've found a solution but > > this work good > > bar(N, b1[:,0], width, color='r', yerr=binterv) > > s3=find(sig1[:,arange(ini,c)]<=0.001) Just a few ti

Re: [Numpy-discussion] fiddling the strides of an array

2006-11-19 Thread Filip Wasilewski
On 11/19/06, A. M. Archibald <[EMAIL PROTECTED]> wrote: > Hi, > > I have a function that would like to be able to take an array, look at > its 'strides' and 'shape' tuples, and fabricate another array that is > similar to the first but has the adjusted values. > > For a simple example: > > def fidd