6.5.2. bin_split

bin_split(x, bin_std=(0.01, 0.1), n_min=None, bins_min=None)[source]

Splits the input data with variable bins.

Parameters:
  • x (Iterable) – Input data.
  • bin_std ((float, float)) – Bin standard deviation limits.
  • n_min (int) – Minimum number of data inside a bin [-].
  • bins_min (int) – Minimum number of bins [-].
Returns:

Bins and their statistics.

Return type:

(list, list)