wradlib.trafo.TrafoMethods.decibel#
- TrafoMethods.decibel()[source]#
Calculates the decibel representation of the input values
\(dBZ=10 \cdot \log_{10} z\)
- Parameters:
x (
float
ornumpy.ndarray
) – (must not be <= 0.)
Examples
>>> from wradlib.trafo import decibel >>> print(decibel(100.)) 20.0