Re: [Numpy-discussion] #2522 numpy.diff fails on unsigned integers

2014-11-12 Thread Sebastian
On 2014-11-04 19:44, Charles R Harris wrote: > On Tue, Nov 4, 2014 at 11:19 AM, Sebastian wrote: > >> On 2014-11-04 15:06, Todd wrote: >>> On Tue, Nov 4, 2014 at 2:50 PM, Sebastian Wagner > >>> > wrote: >>> >>> Hello, >>> >>> I want to bring up Issue #2522 'numpy.diff fails

[Numpy-discussion] truthiness of object arrays

2014-11-12 Thread Antony Lee
I am puzzled by the following (numpy 1.9.0, python 3.4.2): In [1]: t = array(None); t[()] = array([None, None]) # Construct a 0d array of dtype object, containing a single numpy array with 2 elements In [2]: bool(t) Out[2]: True In [3]: if t: pass ---

Re: [Numpy-discussion] FFT of 2D array along last axis

2014-11-12 Thread Brad Buran
So it seems that the error only occurs in np.fft.rfft (not np.fft.fft). The following code: import numpy as np r = np.random.RandomState(seed=0) z = r.randn(2**14).reshape((2, -1)) print(np.abs(np.fft.rfft(z)[0])[:5]) print(np.abs(np.fft.rfft(z[0]))[:5]) Prints out on a Windows 7 with Anaconda 64

[Numpy-discussion] Subscribing to mailinglist not possible / sites down

2014-11-12 Thread Stefan Otte
Hey *, The websites to subscribe to the numpy/scipy mailinglists seem to be down: - http://mail.scipy.org/mailman/listinfo/scipy-user - http://mail.scipy.org/mailman/listinfo/scipy-user - http://projects.scipy.org/pipermail/scipy-dev/ And it's not just me: http://www.downforeveryoneorjustme.com