ZELLMECHANIK-DRESDEN / ShapeOut

Shape-Out has been superseded by Shape-Out 2.
https://shapeout.readthedocs.io
GNU General Public License v2.0
5 stars 5 forks source link

Nr. of bins in 2D Histogram (v2) #171

Closed maikherbig closed 6 years ago

maikherbig commented 7 years ago

The number of bins in a histogram is usually determined using one of the following rules: -Square-root choice -Sturges' formula -Rice Rule -Doane's formula -...others I found that especially Doane's formula gives nice results (I applied it at 25 different data-sets). Computation time is negligible (0.02s for 100.000 cells) The users are allowed to change this optimized binsize (which is of course different for each experiment since it depends on the number of measured values) by setting a factor (xacc and yacc) Using this should solve this issue: Histogram coloring of points #147

paulmueller commented 7 years ago

In order to preserve the accuracies of saved sessions, Doanes formula should only be used to set default values for xacc and yacc in _complete_config() in analysis.py (see #155).

paulmueller commented 6 years ago

see #147 and https://github.com/ZELLMECHANIK-DRESDEN/ShapeOut/commit/044e456b8c9fe193b043426e2b6a22570dabaa17.