def _leq(levels, time):
    levels = np.asarray(levels)
    return 10.0 * np.log10((1.0/time) * np.sum(10.0**(levels/10.0)))
dataset/ETHPy150Open python-acoustics/python-acoustics/acoustics/descriptors.py/_leq/original