modules/utils.py
def nextpow2(x):
    '''
        Return smallest number larger than x and a power of 2.
    '''
    logx = np.ceil(np.log2(x))
    return pow(2, logx)

        Return smallest number larger than x and a power of 2.
    
Return smallest number larger than x and a power of 2.
Return smallest number larger than x and a power of 2 .
def nextpow2(x):
    logx = np.ceil(np.log2(x))
    return pow(2, logx)
def nextpow2 ( x ) : logx = np . ceil ( np . log2 ( x ) ) return pow ( 2 , logx )
Return smallest number larger than x and a power of 2.
Return smallest number larger than x and a power of 2 .
'''
        Return smallest number larger than x and a power of 2.
    '''
x