def dbmean(levels, axis=None):
    levels = np.asanyarray(levels)
    return 10.0 * np.log10((10.0**(levels/10.0)).mean(axis=axis))
Energetic average of levels.
dataset/ETHPy150Open python-acoustics/python-acoustics/acoustics/decibel.py/dbmean