Re: [Numpy-discussion] f2py problem with complex inout in subroutine

2010-07-11 Thread Pearu Peterson
On 07/09/2010 02:03 PM, Mark Bakker wrote: Hello list. The following subroutine fails to compile with f2py. I use a complex variable with intent(inout). It works fine with two real variables, so I have a workaround, but it would be nicer with a complex variable. Any thoughts on what I am

Re: [Numpy-discussion] BOF notes: Fernando's proposal : NumPy ndarray with named axes

2010-07-11 Thread Neil Crighton
Robert Kern robert.kern at gmail.com writes: Please install Fernando's datarray package, play with it, read its documentation, then come back with objections or alternatives. I really don't think you understand what is being proposed. Well the discussion has been pretty confusing. For

Re: [Numpy-discussion] BOF notes: Fernando's proposal: NumPy ndarray with named axes

2010-07-11 Thread Rob Speer
But the utility of named indices is not so clear to me. As I understand it, these new arrays will still only be able to have a single type of data (one of float, str, int and so on). This seems to be pretty limiting. This just shows that people use NumPy for lots of different things. I myself

Re: [Numpy-discussion] Nyquist frequency in numpy.fft docstring

2010-07-11 Thread Eric Firing
On 07/11/2010 01:13 PM, David Goldsmith wrote: Hi! I'm a little confused: in the docstring for numpy.fft we find the following: For an even number of input points, A[n/2] represents both positive and negative Nyquist frequency... but according to

[Numpy-discussion] Another reality check

2010-07-11 Thread David Goldsmith
In numpy.fft we find the following: Then A[1:n/2] contains the positive-frequency terms, and A[n/2+1:] contains the negative-frequency terms, in order of decreasingly negative frequency. Just want to confirm that decreasingly negative frequency means ..., A[n-2] = A_(-2), A[n-1] = A_(-1), as

Re: [Numpy-discussion] Nyquist frequency in numpy.fft docstring

2010-07-11 Thread Fabrice Silva
Le dimanche 11 juillet 2010 à 16:13 -0700, David Goldsmith a écrit : Hi! I'm a little confused: in the docstring for numpy.fft we find the following: For an even number of input points, A[n/2] represents both positive and negative Nyquist frequency... but according to

Re: [Numpy-discussion] Another reality check

2010-07-11 Thread David Goldsmith
On Sun, Jul 11, 2010 at 6:18 PM, David Goldsmith d.l.goldsm...@gmail.comwrote: In numpy.fft we find the following: Then A[1:n/2] contains the positive-frequency terms, and A[n/2+1:]contains the negative-frequency terms, in order of decreasingly negative frequency. Just want to confirm