Hi, some time ago I needed the same thing and hacked the function
histogram (from numpy or matplo. Here goes my function
## Calculates the histogram allowing for overlapping bins, which are
given by
#
# @param a
# @param bins a sequence of pairs (left,right), limits for each bin
#
# @return hist
Hi, some time ago I needed the same thing and hacked the function
histogram (from numpy). Here goes my function, I hope it will result useful
Cheers,
Juan
## Calculates the histogram allowing for overlapping bins, which are
given by
#
# @param a
# @param bins a sequence of pairs
It'd be cool if we could do something like
bins = [(0.0,0.05,0.1),(0.05,0.1,0.15)...]
Where I have specified the left edge, center and right edge of each
bin. Yeah, that'd be pretty slick.
S
On Sat Oct 20 16:21:41 2012, Steven Boada wrote:
Let's say I generate a bunch of random numbers from
On Sat, Oct 20, 2012 at 10:25 PM, Steven Boada bo...@physics.tamu.edu wrote:
It'd be cool if we could do something like
bins = [(0.0,0.05,0.1),(0.05,0.1,0.15)...]
Where I have specified the left edge, center and right edge of each
bin. Yeah, that'd be pretty slick.
S
On Sat Oct 20
On Sat, Oct 20, 2012 at 11:37 PM, Benjamin Root ben.r...@ou.edu wrote:
On Saturday, October 20, 2012, Damon McDougall wrote:
On Sat, Oct 20, 2012 at 10:25 PM, Steven Boada bo...@physics.tamu.edu
wrote:
It'd be cool if we could do something like
bins =