Re: [Numpy-discussion] incremental histogram

2014-05-07 Thread Robert Kern
On Wed, May 7, 2014 at 3:22 PM, Neal Becker wrote: > I needed a histogram that is built incrementally. My need is for 1D only. > > The idea is to not require storage of all the data (assume it could be too > large). > > This is a naive implementation, perhaps someone could suggest something > be

[Numpy-discussion] incremental histogram

2014-05-07 Thread Neal Becker
I needed a histogram that is built incrementally. My need is for 1D only. The idea is to not require storage of all the data (assume it could be too large). This is a naive implementation, perhaps someone could suggest something better. ,[ /home/nbecker/sigproc.ndarray/histogram3.py ] | im

Re: [Numpy-discussion] incremental histogram

2010-05-04 Thread denis
On 04/05/2010 14:09, Neal Becker wrote: > denis wrote: >> Neal, >> I like the idea of a faster np.histogram / histogramdd; >> but it would have to be compatible with numpy and pylab >> or at least a clear, documented subset (doc first). > > The point is not to be faster, it's to be incremental

Re: [Numpy-discussion] incremental histogram

2010-05-04 Thread Neal Becker
denis wrote: > On 03/05/2010 16:02, Neal Becker wrote: >> I have coded in c++ a histogram object that can be used as: >> >> h += my_sample >> >> or >> >> h += my_vector >> >> This is very useful in simulations which are looping and developing >> results >> incrementally. It would me great to have

Re: [Numpy-discussion] incremental histogram

2010-05-04 Thread denis
On 03/05/2010 16:02, Neal Becker wrote: > I have coded in c++ a histogram object that can be used as: > > h += my_sample > > or > > h += my_vector > > This is very useful in simulations which are looping and developing results > incrementally. It would me great to have such a feature in numpy. Ne

[Numpy-discussion] incremental histogram

2010-05-03 Thread Neal Becker
I have coded in c++ a histogram object that can be used as: h += my_sample or h += my_vector This is very useful in simulations which are looping and developing results incrementally. It would me great to have such a feature in numpy. ___ NumPy-Disc