roundup_ratio

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

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

Parameters:
aint or float or numpy.ndarray
bint or float or numpy.ndarray
Returns:
ratioint

The roundup ratio.