PL0

pylayers.antprop.loss.PL0(fGHz, GtdB=0, GrdB=0, R=1)[source]

Path Loss at frequency fGHZ @ R

fGHz: float

frequency GHz

GtdB: float

transmitting antenna gain dB (default 0 dB)

GrdB: float

receiving antenna gain dB (default 0 dB)

Rfloat

distance in m

PL0float

path @ R

\[PL_0 = -20 log_{10}(\frac{\lambda}{4\pi}) - GtdB -GrdB\]
>>> fGHz  = 2.4
>>> PL = PL0(fGHz)
>>> assert (PL<41)&(PL>40),"something wrong"