Re: [Numpy-discussion] interrupting large matrix operations

2010-09-10 Thread Tom K.
David Cournapeau wrote: > >> (I'm running ancient numpy and python at work, so if this is already >> supported in later versions, my apologies) > > What does ancient mean ? Could you give us the version (numpy.__version__) > > 1.0.4 Python 2.4.2 IPython 0.9.1 -- View this message in contex

Re: [Numpy-discussion] interrupting large matrix operations

2010-09-10 Thread David Cournapeau
On Fri, Sep 10, 2010 at 9:22 PM, David Cournapeau wrote: > On Fri, Sep 10, 2010 at 9:05 PM, Tom K. wrote: >> >> OK, I know it's my problem if I try to form a 15000x15000 array and take the >> cosine of each element, but the result is that my python session completely >> hangs - that is, the opera

Re: [Numpy-discussion] interrupting large matrix operations

2010-09-10 Thread David Cournapeau
On Fri, Sep 10, 2010 at 9:05 PM, Tom K. wrote: > > OK, I know it's my problem if I try to form a 15000x15000 array and take the > cosine of each element, but the result is that my python session completely > hangs - that is, the operation is not interruptible. > > t=np.arange(15360)/15.36e6 > t.sh

[Numpy-discussion] interrupting large matrix operations

2010-09-10 Thread Tom K.
OK, I know it's my problem if I try to form a 15000x15000 array and take the cosine of each element, but the result is that my python session completely hangs - that is, the operation is not interruptible. t=np.arange(15360)/15.36e6 t.shape=(-1,1) X=np.cos(2*np.pi*750*(t-t.T)) I'd like to hit "