Hi all,
I have added to the ticket [1] a script that compares the proposed
setmember1d_nu() implementations of Neil and Kim. Comments are welcome!
[1] http://projects.scipy.org/numpy/ticket/1036
r.
___
Numpy-discussion mailing list
Hi,
Is anyone getting mails of the SVN commits? I've gotten 1 spam message from
that list, but no commits.
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
___
Numpy-discussion mailing list
I found the solution I needed for my peculiar case after reading your email
based of the following stages:
I have a N x N frequency-domain matrix Z
1. Use fftshift to obtain a DC centered matrix
Note: fftshift(fft(a)) replaces np.fft.fft(np.power(-1,np.arange(64))*a)
Zs =
Hi,
I have updated http://numpy.scipy.org/array_interface.shtml to have a
giant warning first paragraph describing how that information is
outdated. Additionally, I have updated http://numpy.scipy.org/ to point
people to the buffer interface described in PEP 3118 and implemented in
Python
Hi Nadav
You can also read the interesting discussion at
http://projects.scipy.org/numpy/ticket/748
which also contains some padding code.
I still disagree with the conclusion, but oh well :)
Cheers
Stéfan
2009/3/6 Nadav Horesh nad...@visionsense.com:
I found the solution I needed for my
It was one of the first things I tried, without success
Nadav.
-הודעה מקורית-
מאת: numpy-discussion-boun...@scipy.org בשם Anne Archibald
נשלח: ה 05-מרץ-09 22:06
אל: Discussion of Numerical Python
נושא: Re: [Numpy-discussion] Interpolation via Fourier transform
2009/3/5 M Trumpis
Hi,
The idea behind the current syntax was to keep things as close as
possible to Python/NumPy, and only provide some hints to Cython for
optimization. My problem with this now is that a) it's too easy to get
non-optimized code without a warning by letting in untyped indices, b) I
think the
2009/3/5 Francesc Alted fal...@pytables.org:
A Thursday 05 March 2009, Francesc Alted escrigué:
Well, I suppose that, provided that Cython could perform the for-loop
transformation, giving support for strided arrays would be relatively
trivial, and the performance would be similar than numexpr
On Fri, Mar 6, 2009 at 8:28 AM, Ryan May rma...@gmail.com wrote:
Hi,
Is anyone getting mails of the SVN commits? I've gotten 1 spam message
from that list, but no commits.
Ryan
I'm not seeing them either...Chuck
___
Numpy-discussion mailing
On Mar 6, 2009, at 12:46 PM, Charles R Harris wrote:
On Fri, Mar 6, 2009 at 8:28 AM, Ryan May rma...@gmail.com wrote:
Hi,
Is anyone getting mails of the SVN commits? I've gotten 1 spam
message from that list, but no commits.
Ryan
I'm not seeing them either...Chuck
Hey guys, I'm
Greetings,
I am running Windows Vista Ultimate and trying to build numpy from the
SVN branch using MSVC 2003. I have been able to build previously, but
with my latest SVN update I am no longer able to build. My CPU is an
Intel Core2 T7600 @2.33GHz. The error is below.
Hi David,
Currently,
bint.i = __STR2INTCST(ABCD);
It is probably more portable to just initialize the union
union {
char c[4];
npy_uint32 i;
} bint = {'A','B','C','D'};
If you use const union the initialization will be done at compile time.
Chuck
On Fri, Mar 6, 2009 at 2:01 PM, Charles R Harris
charlesr.har...@gmail.comwrote:
Hi David,
Currently,
bint.i = __STR2INTCST(ABCD);
It is probably more portable to just initialize the union
union {
char c[4];
npy_uint32 i;
} bint = {'A','B','C','D'};
If you
Hi there -
I've imported some data from a file, and it's in a list called mixfrac. I'd
like to take the Fourier transform of the data, but when I try to take the
FFT of the list, I get this error:
---
TypeError
On Fri, Mar 6, 2009 at 3:36 PM, charles reid charlesre...@gmail.com wrote:
Hi there -
I've imported some data from a file, and it's in a list called mixfrac.
I'd like to take the Fourier transform of the data, but when I try to take
the FFT of the list, I get this error:
In [3]: type(mixfrac)
Out[3]: type 'list'
In [4]: mixfracarray=array(mixfrac)
In [5]: type(mixfracarray)
Out[5]: type 'numpy.ndarray'
(Is that what you were referring to?)
On Fri, Mar 6, 2009 at 3:44 PM, Charles R Harris
charlesr.har...@gmail.comwrote:
On Fri, Mar 6, 2009 at 3:36 PM,
On Fri, Mar 6, 2009 at 3:51 PM, charles reid charlesre...@gmail.com wrote:
In [3]: type(mixfrac)
Out[3]: type 'list'
In [4]: mixfracarray=array(mixfrac)
In [5]: type(mixfracarray)
Out[5]: type 'numpy.ndarray'
Try mixfracarray.dtype ...Chuck
snip
In [3]: mixfracarray=array(mixfrac)
In [4]: mixfracarray.dtype
Out[4]: dtype('|S17')
On Fri, Mar 6, 2009 at 4:09 PM, Charles R Harris
charlesr.har...@gmail.comwrote:
On Fri, Mar 6, 2009 at 3:51 PM, charles reid charlesre...@gmail.comwrote:
In [3]: type(mixfrac)
Out[3]: type 'list'
In
This indicates that the values are strings, so you can't make an FFT
from them. Convert your array to float or double array first.
Matthieu
2009/3/7 charles reid charlesre...@gmail.com:
In [3]: mixfracarray=array(mixfrac)
In [4]: mixfracarray.dtype
Out[4]: dtype('|S17')
On Fri, Mar 6,
On Fri, Mar 6, 2009 at 4:22 PM, charles reid charlesre...@gmail.com wrote:
In [3]: mixfracarray=array(mixfrac)
In [4]: mixfracarray.dtype
Out[4]: dtype('|S17')
It's a string array. What does your file look like and how do you import it?
Chuck
___
Fixed the problem - I was importing a bunch of numbers from a file, and I
wasn't casting them as doubles. Thanks for the help!
Charles
On Fri, Mar 6, 2009 at 4:26 PM, Charles R Harris
charlesr.har...@gmail.comwrote:
On Fri, Mar 6, 2009 at 4:22 PM, charles reid charlesre...@gmail.comwrote:
On Fri, Mar 6, 2009 at 6:18 PM, Stéfan van der Walt ste...@sun.ac.zawrote:
Hi all,
The following code succeeds, while I thought it should fail:
a = np.zeros(6) # real
b= np.arange(6)*(2+3j) # complex
a[1] = b[1] # shouldn't this break?
What is the rationale behind this behaviour?
The
22 matches
Mail list logo