roundup_ratio

sofia_redux.scan.utilities.numba_functions.roundup_ratio(a, b)[source]

Returns int((a + b - 1) / b).

Parameters:
aint or float
bint or float
Returns:
ratioint

The roundup ratio.