noc.core.convert.dbm

Module Contents

noc.core.convert.dbm.dbm2mw(v)
dBm to mW
mW = 10^(dBm/10)
>>> dbm2mw(0)
1.0
>>> dbm2mw(10)
10.0
noc.core.convert.dbm.mw2dbm(v)
mW to dBm
dBm = 10 log10 (mW)
if v == 0.0 - math domain error
>>> mw2dbm(1)
0.0
>>> mw2dbm(10)
10.0