ewoksfluo.math.rounding#

Functions

round_range(start, stop, step)

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

round_to_significant(value[, tolerance])

Rounds a number to the least amount of significant decimals without changing the value by more than the given tolerance (default 1%).