bilby.core.utils.calculus.round_up_to_power_of_two

bilby.core.utils.calculus.round_up_to_power_of_two(x)[source]

Round up to the next power of two

Parameters:
x: float
Returns:
float: next power of two