np_2_db

pmrf.math.np_2_db(x: Array | ndarray | bool | number | bool | int | float | complex)

Convert a value in Nepers (Np) to decibel (dB).

Parameters:

x (number or array_like) – A real number or sequence of real numbers.

Returns:

db – A real number of sequence of real numbers.

Return type:

number or array_like