Re: [Numpy-discussion] A way to compute a 2d histogram

2006-11-14 Thread David Huard
I put the patch on Trac. Ticket 189.2006/11/14, Xavier Gnata < [EMAIL PROTECTED]>: Hi,IFAICS these new histograms versions have not yet been merged to svn.Are they problems to be solve before to be able to merge them?How could we help?Voice you support on Trac to replace histogram with the upgrade

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-11-14 Thread David Huard
2006/11/14, Xavier Gnata <[EMAIL PROTECTED]>: Hi,IFAICS these new histograms versions have not yet been merged to svn.Are they problems to be solve before to be able to merge them?How could we help?No, I'm just overloaded with other stuff, I'll submit a patch on Trac today or tomorrow. Up to now, T

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-11-14 Thread Xavier Gnata
Hi, IFAICS these new histograms versions have not yet been merged to svn. Are they problems to be solve before to be able to merge them? How could we help? Xavier > Hi, > > Your histograms functions look fine for me :) > As it is a quite usual operation on an array, I would suggest to put > i

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-10-31 Thread Xavier Gnata
Hi, Your histograms functions look fine for me :) As it is a quite usual operation on an array, I would suggest to put it in numpy as numpy.histogram. IMHO, there is no point to create an numpy.stats only for histograms (or do you have plans to move other stats related function to numpy.stats

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-10-25 Thread David Huard
Nicolas, thanks for the bug report, I fooled around with argument passing and should have checked every case. You'll find the histogram function that deals with weights on the numpy trac ticket 189,I'm waiting for some hints as to where the histogram function should reside (numpy.histogram, numpy.

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-10-25 Thread Nicolas Champavert
Hi, it would be great if you could add the weight option in the 1D histogram too. Nicolas David Huard a écrit : > Xavier, > Here is the patch against svn. Please report any bug. I haven't had > the time to test it extensively, something that should be done before > commiting the patch to

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-10-25 Thread Nicolas Champavert
Hi, there is a problem when using this patch of numpy.histogram2d. I've tried: a=pylab.rand(10) numpy.histogram2d(a,a) and there is an exception (exceptions.AttributeError) in numpy.histogramdd function called by numpy.histogram2d. But numpy.histogram2d(a,a,bins=[10,10]) works. So I'v

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-10-24 Thread David Huard
Xavier,Here is the patch against svn. Please report any bug. I haven't had the time to test it extensively, something that should be done before commiting the patch to the repo. I'd appreciate your feedback. David 2006/10/24, David Huard <[EMAIL PROTECTED]>: Hi Xavier,You could tweak histogram2d to

Re: [Numpy-discussion] A way to compute a 2d histogram

2006-10-24 Thread David Huard
Hi Xavier,You could tweak histogram2d to do what you want, or you could give me a couple of days and I'll do it and let you know. If you want to help, you could write a test using your particular application and data. David 2006/10/24, Xavier Gnata <[EMAIL PROTECTED]>: Hi,I have a set of 3 1D larg