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

2010-05-27 Thread Charles R Harris
On Wed, May 26, 2010 at 11:55 PM, Matthew Brett matthew.br...@gmail.comwrote: Hi, No, I am saying we need at least five people who can commit to the main repo. That is the central repository model. Excellent - yes - that's reasonable. Then if you also agree to this: No development in

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

2010-05-27 Thread Matthew Brett
Hi, How does that differ from what we do now? Review? I develop in my own branches as is. Right - so - then do you always ask for a review from someone before merging into trunk? If so, then git is just a much more fluid, reliable and faster tool to do what you are doing now. True, but what

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

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 12:14 AM, Matthew Brett matthew.br...@gmail.comwrote: Hi, How does that differ from what we do now? Review? I develop in my own branches as is. Right - so - then do you always ask for a review from someone before merging into trunk? If so, then git is just a much

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

2010-05-27 Thread Matthew Brett
Hi, Having said that - it will of course happen that you ask for review and no-one responds.  That's not a very big problem, because git merges are so easy that you can - as Anne said earlier - just keep on developing without worrying that your changes will go out of date. But if there's a

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 charlesr.har...@gmail.com 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

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 Charles R Harris
2010/5/27 Stéfan van der Walt ste...@sun.ac.za On 26 May 2010 23:27, Charles R Harris charlesr.har...@gmail.com 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

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

2010-05-27 Thread Friedrich Romstedt
2010/5/26 arthur de conihout arthurdeconih...@gmail.com: 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

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 charlesr.har...@gmail.com 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.

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 charlesr.har...@gmail.com 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

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 aarch...@physics.mcgill.ca 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

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 aarch...@physics.mcgill.ca 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

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 Ralf Gommers
On Thu, May 27, 2010 at 1:34 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Wed, May 26, 2010 at 11:28 PM, David da...@silveregg.co.jp wrote: On 05/27/2010 02:16 PM, Charles R Harris wrote: On Wed, May 26, 2010 at 11:06 PM, Anne Archibald aarch...@physics.mcgill.ca

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 arthurdeconih...@gmail.com 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

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 arthurdeconih...@gmail.com 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

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 oliph...@enthought.comwrote: On May 25, 2010, at 5:06 PM, David Cournapeau wrote: On Wed, May 26, 2010 at 6:19 AM, Charles R Harris charlesr.har...@gmail.com wrote: Sounds good, but what if it doesn't get finished in a few months? I

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 fal...@pytables.org 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

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

2010-05-27 Thread Friedrich Romstedt
2010/5/27 arthur de conihout arthurdeconih...@gmail.com: 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 =

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 ralf.gomm...@googlemail.com wrote: On Wed, May 26, 2010 at 12:23 PM, Travis Oliphant oliph...@enthought.com wrote: On May 25, 2010, at 5:06 PM, David Cournapeau wrote: On Wed, May 26, 2010 at 6:19 AM, Charles R Harris

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

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 vinc...@vincentdavis.net wrote: On Thu, May 27, 2010 at 1:27 AM, Francesc Alted fal...@pytables.org 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

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

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 kwgood...@gmail.com 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

[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) type 'NotImplementedType' Josef ___ NumPy-Discussion mailing list

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 vinc...@vincentdavis.net wrote: On Thu, May 27, 2010 at 8:39 AM, Keith Goodman kwgood...@gmail.com 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,

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 p...@iki.fi wrote: Wed, 26 May 2010 07:15:08 -0600, Charles R Harris wrote: On Wed, May 26, 2010 at 2:59 AM, Pauli Virtanen p...@iki.fi wrote: Wed, 26 May 2010 06:57:27 +0900, David Cournapeau wrote: [clip: doxygen] It is yet another

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 9:59 AM, josef.p...@gmail.com 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) type 'NotImplementedType' Maybe an

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 kwgood...@gmail.com mailto:kwgood...@gmail.com 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

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

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, you

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 bsout...@gmail.com 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

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread josef . pktd
On Thu, May 27, 2010 at 12:57 PM, Pauli Virtanen p...@iki.fi 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

[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 install

[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

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

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

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 9:59 AM, josef.p...@gmail.com 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) type 'NotImplementedType' What numpy

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

2010-05-27 Thread Friedrich Romstedt
2010/5/27 Friedrich Romstedt friedrichromst...@gmail.com: 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

Re: [Numpy-discussion] NotImplemented returns

2010-05-27 Thread josef . pktd
On Thu, May 27, 2010 at 2:34 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, May 27, 2010 at 9:59 AM, josef.p...@gmail.com 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 =

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 charlesr.har...@gmail.com wrote: On Wed, May 26, 2010 at 8:14 AM, Pauli Virtanen p...@iki.fi wrote: Wed, 26 May 2010 07:15:08 -0600, Charles R Harris wrote: On Wed, May 26, 2010 at 2:59 AM, Pauli Virtanen p...@iki.fi wrote: Wed, 26 May

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 arthurdeconih...@gmail.com 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

[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

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

2010-05-27 Thread Charles R Harris
On Thu, May 27, 2010 at 5:19 PM, josef.p...@gmail.com 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)))

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 charlesr.har...@gmail.com wrote: On Thu, May 27, 2010 at 5:19 PM, josef.p...@gmail.com 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

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 charlesr.har...@gmail.com wrote: On Thu, May 27, 2010 at 7:57 PM, Charles R Harris charlesr.har...@gmail.com wrote: On Thu, May 27, 2010 at 5:19 PM, josef.p...@gmail.com wrote: I was tracking a test failure/crash in scipy.signal.ltisys