#NEWLINE# def dbadd( a , b ) : #NEWLINE# #INDENT# 'Energetic addition.\n    \n    :param a: Single level or sequence of levels.\n    :param b: Single level or sequence of levels.\n    \n    .. math:: L_{a+b} = 10 \\log_{10}{10^{L_b/10}+10^{L_a/10}}\n    \n    Energetically adds b to a.\n    ' #NEWLINE# a = np . asanyarray ( a ) #NEWLINE# b = np . asanyarray ( b ) #NEWLINE# return ( 10.0 * np . log10 ( ( ( 10.0 ** ( a / 10.0 ) ) + ( 10.0 ** ( b / 10.0 ) ) ) ) )