L_p#

acoular.fbeamform.L_p(x)

Calculates the sound pressure level from the squared sound pressure.

\(L_p = 10 \lg ( x / 4\cdot 10^{-10})\)

Parameters:
x: array of floats

The squared sound pressure values

Returns:
array of floats

The corresponding sound pressure levels in dB. If x<0, -350.0 dB is returned.