npstreams.ihistogram

npstreams.ihistogram(arrays, bins)

Streaming histogram calculation.

Parameters:
  • arrays (iterable of ndarrays) – Arrays to be combined. This iterable can also a generator. Arrays in this stream can be of any shape; the histogram is computed over the flattened array.
  • bins (iterable) – Bin edges, including the rightmost edge, allowing for non-uniform bin widths.
Yields:

hist (~numpy.ndarray) – Streamed histogram.

See also

numpy.histogram()
1D histogram of dense arrays.