log2round

sofia_redux.scan.utilities.numba_functions.log2round(x)[source]

Return the rounded value of log_2(x).

Parameters:
xint or float
Returns:
int