Re: [Numpy-discussion] crash in np.poly

2010-05-27 Thread josef . pktd
On Thu, May 27, 2010 at 10:00 PM, Charles R Harris wrote: > > > On Thu, May 27, 2010 at 7:57 PM, Charles R Harris > wrote: >> >> >> On Thu, May 27, 2010 at 5:19 PM, wrote: >>> >>> I was tracking a test failure/crash in scipy.signal.ltisys >>> >>> numpy 1.4.0: >>> >>> >>> np.poly(np.zeros((0,0)))

Re: [Numpy-discussion] crash in np.poly

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 7:57 PM, Charles R Harris wrote: > > > On Thu, May 27, 2010 at 5:19 PM, wrote: > >> I was tracking a test failure/crash in scipy.signal.ltisys >> >> numpy 1.4.0: >> >> >>> np.poly(np.zeros((0,0))) >> ** On entry to DGEEV parameter number 5 had an illegal value >> >> >>

Re: [Numpy-discussion] crash in np.poly

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 5:19 PM, wrote: > I was tracking a test failure/crash in scipy.signal.ltisys > > numpy 1.4.0: > > >>> np.poly(np.zeros((0,0))) > ** On entry to DGEEV parameter number 5 had an illegal value > > > In current: In [1]: np.poly(np.zeros((0,0)))

[Numpy-discussion] crash in np.poly

2010-05-27 Thread josef . pktd
I was tracking a test failure/crash in scipy.signal.ltisys numpy 1.4.0: >>> np.poly(np.zeros((0,0))) ** On entry to DGEEV parameter number 5 had an illegal value Josef ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.o

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread David Cournapeau
On Fri, May 28, 2010 at 1:58 AM, arthur de conihout wrote: > Thank you for the answer > i would love trying audiolab but i got this error while importing i m > running python2.6 > import audiolab > /usr/local/lib/python2.6/dist-packages/audiolab-0.0.0-py2.6-linux-i686.egg/audiolab/soundio/pla

Re: [Numpy-discussion] Extending documentation to c code

2010-05-27 Thread David Goldsmith
On Thu, May 27, 2010 at 9:18 AM, Charles R Harris wrote: > > On Wed, May 26, 2010 at 8:14 AM, Pauli Virtanen wrote: > >> Wed, 26 May 2010 07:15:08 -0600, Charles R Harris wrote: >> > On Wed, May 26, 2010 at 2:59 AM, Pauli Virtanen wrote: >> > >> >> Wed, 26 May 2010 06:57:27 +0900, David Cournap

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread josef . pktd
On Thu, May 27, 2010 at 2:34 PM, Charles R Harris wrote: > > > On Thu, May 27, 2010 at 9:59 AM, wrote: >> >> A while ago we had a brief discussion about this. >> >> >> Is this a feature? or should there be a ticket for this >> >> >>> np.sqrt('5') >> NotImplemented >> >>> a = np.sqrt('5') >> >>> a

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Friedrich Romstedt
2010/5/27 Friedrich Romstedt : > I just want to say that I used Git on Windows without any problem > using a minGW built Git, i.e. msysgit: Hm, I read the other thread too late to recognise this to be discussed already - Sorry And hey, even Windows has Tab completion of path names, even in the, a

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 9:59 AM, wrote: > A while ago we had a brief discussion about this. > > > Is this a feature? or should there be a ticket for this > > >>> np.sqrt('5') > NotImplemented > >>> a = np.sqrt('5') > >>> a > NotImplemented > >>> type(a) > > > What numpy version? I get In [2]: s

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Matthew Brett
Hi, > Maybe most importantly, distributed revision control places any > possible contributor on equal footing with those with commit access; > this is one important step in making contributors feel valued. I think this is a very important point, but subtle. I realize that's a dangerous combinati

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Friedrich Romstedt
I just want to say that I used Git on Windows without any problem using a minGW built Git, i.e. msysgit: http://code.google.com/p/msysgit/downloads/list The only problem I see is that with CR / CRLF / LF. When one installs msysgit, one can choose what procedure to take - to commit to the repo wi

[Numpy-discussion] StarCluster 0.91 - NumPy/SciPy Clusters on EC2

2010-05-27 Thread Justin Riley
This is a one-time message to announce the availability of version 0.91 of the StarCluster package. Why should you care? StarCluster allows you to create NumPy/SciPy clusters configured with NFS-shared filesystems and the Sun Grid Engine queueing system out of the box on Amazon's Elastic Compute C

[Numpy-discussion] error during config on Ubuntu powerpc64, numpy-1.4.1

2010-05-27 Thread Chris Kees
Hi, I'm getting an error in check_long_double_representation on a linux/powerpc64 box. Has anybody seen this before/know a fix? -Chris > python -V Python 2.6.5 > uname -a Linux chl-29-200 2.6.32-21-powerpc64-smp #32-Ubuntu SMP Fri Apr 16 10:28:57 UTC 2010 ppc64 GNU/Linux >python setup.py insta

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread josef . pktd
On Thu, May 27, 2010 at 12:57 PM, Pauli Virtanen wrote: > Thu, 27 May 2010 10:21:14 -0600, Charles R Harris wrote: > [clip] >> Maybe an enhancement ticket. The NotImplemented return is appropriate >> for some functions, but for functions with a single argument we should >> probably raise an error.

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Vincent Davis
On Thu, May 27, 2010 at 10:25 AM, Bruce Southey wrote: > On 05/27/2010 10:40 AM, Vincent Davis wrote: > Can you give an example of what you are trying to do? > arr = np.array([(1,'a'),(2,'b')], dtype =[(num,int),(str, |s2)] No supposed I want to know if I can sum the values in 'num'. I could j

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread arthur de conihout
Thank you for the answer i would love trying audiolab but i got this error while importing i m running python2.6 >>> import audiolab /usr/local/lib/python2.6/dist-packages/audiolab-0.0.0-py2.6-linux-i686.egg/audiolab/soundio/play.py:48: UserWarning: Could not import alsa backend; most probably, yo

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread Pauli Virtanen
Thu, 27 May 2010 10:21:14 -0600, Charles R Harris wrote: [clip] > Maybe an enhancement ticket. The NotImplemented return is appropriate > for some functions, but for functions with a single argument we should > probably raise an error. A NotImplemented value leaking to the the user is a bug. The f

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Bruce Southey
On 05/27/2010 10:40 AM, Vincent Davis wrote: On Thu, May 27, 2010 at 8:39 AM, Keith Goodman > wrote: To see if it is a number could you use something like: np.issubdtype(a.dtype, float) or np.issubdtype(a.dtype, int) or np.issubdtype(a.dtype, complex)

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 9:59 AM, wrote: > A while ago we had a brief discussion about this. > > > Is this a feature? or should there be a ticket for this > > >>> np.sqrt('5') > NotImplemented > >>> a = np.sqrt('5') > >>> a > NotImplemented > >>> type(a) > > > Maybe an enhancement ticket. The Not

Re: [Numpy-discussion] Extending documentation to c code

2010-05-27 Thread Charles R Harris
On Wed, May 26, 2010 at 8:14 AM, Pauli Virtanen wrote: > Wed, 26 May 2010 07:15:08 -0600, Charles R Harris wrote: > > On Wed, May 26, 2010 at 2:59 AM, Pauli Virtanen wrote: > > > >> Wed, 26 May 2010 06:57:27 +0900, David Cournapeau wrote: [clip: > >> doxygen] > >> > It is yet another format to u

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Robert Kern
On Thu, May 27, 2010 at 11:40, Vincent Davis wrote: > > On Thu, May 27, 2010 at 8:39 AM, Keith Goodman wrote: >> >> To see if it is a number could you use something like: >> np.issubdtype(a.dtype, float) or np.issubdtype(a.dtype, int) or >> np.issubdtype(a.dtype, complex) >> >> And for string: >>

[Numpy-discussion] NotImplemented returns

2010-05-27 Thread josef . pktd
A while ago we had a brief discussion about this. Is this a feature? or should there be a ticket for this >>> np.sqrt('5') NotImplemented >>> a = np.sqrt('5') >>> a NotImplemented >>> type(a) Josef ___ NumPy-Discussion mailing list NumPy-Discussion@

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Vincent Davis
On Thu, May 27, 2010 at 8:39 AM, Keith Goodman wrote: > To see if it is a number could you use something like: > > np.issubdtype(a.dtype, float) or np.issubdtype(a.dtype, int) or > np.issubdtype(a.dtype, complex) > > And for string: > > np.issubdtype(a.dtype, str) > These are valid but what I do

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread arthur de conihout
sorry for the suspense... mod(Hmin(f))= mod(H(f)) phase(Hmin(f))=Im(HilbertTransform(-log(mod(H(f the pure delay is computed by estimating the HRTF (or HRIR) delay.For convenience implementation of one single delay is prefereed corresponding to the difference delay and is applied to the contr

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Keith Goodman
On Thu, May 27, 2010 at 6:02 AM, Vincent Davis wrote: > > On Thu, May 27, 2010 at 1:27 AM, Francesc Alted wrote: >> >> A Thursday 27 May 2010 05:52:22 Vincent Davis escrigué: >> > How do I determine if an array's (or column in a structured array) dtype is >> > a number or a string. I see how to d

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread arthur de conihout
""Can you maybe give some hint?"" The most commonly used model for HRTF implementation is the one refered to as "minimum phase filter and pure delay".It is composed of: -a minimum-phase filter, which accounts for the magnitude spectrum of HRTF -and a pure delay , which represents the temporal infor

Re: [Numpy-discussion] Introduction to Scott, Jason, and (possibly) others from Enthought

2010-05-27 Thread David Cournapeau
On Thu, May 27, 2010 at 8:51 PM, Ralf Gommers wrote: > > > On Wed, May 26, 2010 at 12:23 PM, Travis Oliphant > wrote: >> >> On May 25, 2010, at 5:06 PM, David Cournapeau wrote: >> >> > On Wed, May 26, 2010 at 6:19 AM, Charles R Harris >> > wrote: >> > >> >> Sounds good, but what if it doesn't ge

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread Friedrich Romstedt
2010/5/27 arthur de conihout : > I try to make me clearer on my project : > [...] I think I understood now. Thank you for explanation. >  original = [s / 2.0**15 for s in original] > >     nframes=filtre.getnframes() >     nchannels=filtre.getnchannels() >     filtre = struct.unpack_from("%dh" %

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Vincent Davis
On Thu, May 27, 2010 at 1:27 AM, Francesc Alted wrote: > A Thursday 27 May 2010 05:52:22 Vincent Davis escrigué: > > How do I determine if an array's (or column in a structured array) dtype > is > > a number or a string. I see how to determine the actual dtype but all I > > want to know is if it

Re: [Numpy-discussion] Introduction to Scott, Jason, and (possibly) others from Enthought

2010-05-27 Thread Ralf Gommers
On Wed, May 26, 2010 at 12:23 PM, Travis Oliphant wrote: > > On May 25, 2010, at 5:06 PM, David Cournapeau wrote: > > > On Wed, May 26, 2010 at 6:19 AM, Charles R Harris > > wrote: > > > >> Sounds good, but what if it doesn't get finished in a few months? I > think we > >> should get 2.0.0 out pr

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread David Cournapeau
On Thu, May 27, 2010 at 8:00 PM, arthur de conihout wrote: > #i dont really understand the %dh and the s/2.0**15 but it might be my > problem >  original = [s / 2.0**15 for s in original] This is done because wav file are (usually, not always) in fixed point, with values in the unsigned 16 bits

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread David Cournapeau
On Wed, May 26, 2010 at 10:43 PM, arthur de conihout wrote: >> >> >>> Hi, >>> i try to implement a real-time convolution module refreshed by head >>> listener location (angle from a reference point).The result of the >>> convolution by binaural flters(HRTFs) allows me to spatialize a monophonic >>

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Ralf Gommers
On Thu, May 27, 2010 at 1:34 PM, Charles R Harris wrote: > > > On Wed, May 26, 2010 at 11:28 PM, David wrote: > >> On 05/27/2010 02:16 PM, Charles R Harris wrote: >> > >> > >> > On Wed, May 26, 2010 at 11:06 PM, Anne Archibald >> > mailto:aarch...@physics.mcgill.ca>> wrote: >> > >> > On 27 M

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread arthur de conihout
Hi thanks for your answer It s my first time i get involved in such a forum, i m a raw recruit and i don't exactly know how to post properly. I try to make me clearer on my project : ""But I didn't really get the point what your aim is. As far as I understood you want to do sth named "spacialise

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Jarrod Millman
On Thu, May 27, 2010 at 2:28 AM, Anne Archibald wrote: > * Set up a git repository somewhere on scipy.org. It's a minor point, but setting up and maintaining our own git repository will require extra work without gaining anything useful. Github has a number of very useful features and is gaining

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Jarrod Millman
On Thu, May 27, 2010 at 2:28 AM, Anne Archibald wrote: > To get back to the original point of the thread: nobody has yet > objected to git, and all we have are some debates about the ultimate > workflow that don't make much difference to whether or how git should > be adopted. Is this a fair descr

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Anne Archibald
On 27 May 2010 04:43, Charles R Harris wrote: > >> Maybe most importantly, distributed revision control places any >> possible contributor on equal footing with those with commit access; >> this is one important step in making contributors feel valued. >> > > Well, not quite. They can't commit to

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Stéfan van der Walt
On 27 May 2010 00:43, Charles R Harris wrote: > Well, not quite. They can't commit to the main repository. I think the main > thing is to be responsive: fast review, quick commit. And quick to offer > commit rights to anyone who sends in more that a couple of decent patches. At the moment, giving

Re: [Numpy-discussion] Help Convolution with binaural filters(HRTFs)

2010-05-27 Thread Friedrich Romstedt
2010/5/26 arthur de conihout : > i try to implement a real-time convolution module refreshed by head > listener location (angle from a reference point).The result of the > convolution by binaural flters(HRTFs) allows me to spatialize a monophonic > wavfile. I suspect noone not closely involved wit

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Charles R Harris
2010/5/27 Stéfan van der Walt > On 26 May 2010 23:27, Charles R Harris wrote: > > Exactly. I had a private bet with myself that that would be the case. > See, > > it isn't so much different after all. The tools change, but the problems > and > > solutions remain much the same. > > In this case,

Re: [Numpy-discussion] How to distinguish between number and string dypes

2010-05-27 Thread Francesc Alted
A Thursday 27 May 2010 05:52:22 Vincent Davis escrigué: > How do I determine if an array's (or column in a structured array) dtype is > a number or a string. I see how to determine the actual dtype but all I > want to know is if it is a string or a number. I suppose that the `.kind` attribute of

Re: [Numpy-discussion] curious about how people would feel about moving to github

2010-05-27 Thread Stéfan van der Walt
On 26 May 2010 23:27, Charles R Harris wrote: > Exactly. I had a private bet with myself that that would be the case. See, > it isn't so much different after all. The tools change, but the problems and > solutions remain much the same. In this case, I believe the tool may be part of the solution.