LossMetisShadowing

pylayers.antprop.loss.LossMetisShadowing(fGHz, tx, rx, pg, uw, uh, w, h)[source]

Calculate the Loss from

fGHz : float

txnp.array (,3) of floats

transmiter coordinates

rxnp.array (,3) of floats

receiver coordinates

pgnp.array (,3) of floats

center of gravity of the screen

uwnp.array (,3) of floats

unitary vector along width dimension

uhnp.array (,3) of floats

unitary vector along height dimension

wfloat

width in meters

hfloat

height in meters

Lshfloat

Loss in dB to add to the FS path Loss

This function provides an implementation of formula 6.5 of D1.4 deliverable of METIS project

[Metis D1.4](Ahttps://www.metis2020.com/wp-content/uploads/METIS_D1.4_v3.pdf)

# geometry parametric issue : find M in [tx-rx] defined as M = alpha*rx + (1-alpha)tx where alpha in [0-1]. # if alpha = 0 then M = tx ; if alpha = 1 then M = rx. # Besides, M is defined as M = pg + beta*uw + gamma*uh then alpha*rx + (1-alpha)tx = pg + beta*uw + gamma*uh # [rx-tx , -uw, -uh]*[alpha,beta,gamma].T = pg - tx <==> Ax = b solved by la.solve ; x[0]=alpha, x[1]=beta and

TODO To be vectorized