ewoksfluo.math.rounding.round_range#

ewoksfluo.math.rounding.round_range(start, stop, step)[source]#

Adjust the data range so that the number of bins is an integral number.

Params start:

minimum value

Params stop:

maximum value

Parameters:
  • step (float) – bin width

  • start (float)

  • stop (float)

Return type:

Tuple[float, float, int]

Returns:

minimum value, maximum value, number of bins