Re: [Numpy-discussion] Are masked arrays slower for process ing than ndarrays?

2009-05-13 Thread Matt Knox
Hi Pierre, Here's the catch: it's basically cheating. I got rid of the pre- processing (where a mask was calculated depending on the domain and the input set to a filling value depending on this mask, before the actual computation). Instead, I force

Re: [Numpy-discussion] Are masked arrays slower for process ing than ndarrays?

2009-05-13 Thread Matt Knox
Robert Kern robert.kern at gmail.com writes: seterr() uses thread-local storage. Oh. I stand corrected. Ignore my earlier objections then. Pierre GM pgmdevlist at gmail.com writes: Also, importing numpy.ma currently calls numpy.seterr(all='ignore') anyway... hmm. While this doesn't