janpipek / physt

Python histogram library - histograms as updateable, fully semantic objects with visualization tools. [P]ython [HYST]ograms.
MIT License
131 stars 14 forks source link

Adaptive binning #10

Open janpipek opened 8 years ago

janpipek commented 8 years ago

Inspired by http://stackoverflow.com/questions/18091694/monte-carlo-simulation-with-python-building-a-histogram-on-the-fly?rq=1 - enable to have histogram with fixed-width bins that grows when underflow/overflow is encountered.

A sparse variant can also exist.

janpipek commented 8 years ago

The basic implementation done.

janpipek commented 8 years ago

FixedWidthBinning supports this, other binnings (exponential) not yet.