pylupnt.decimal_to_decibel

pylupnt.decimal_to_decibel(*args, **kwargs)

Overloaded function.

  1. decimal_to_decibel(x: Real) -> Real

Convert a linear ratio to decibels [dB]: 10*log10(x).

  1. decimal_to_decibel(x: typing.Annotated[numpy.typing.ArrayLike, Real, “[m, n]”]) -> typing.Annotated[numpy.typing.NDArray[Real], “[m, n]”]

Element-wise conversion of linear ratios to decibels [dB].