lossref_compute

pylayers.antprop.loss.lossref_compute(P, h0, h1, k=1.3333333333333333)[source]

compute loss and reflection rays on curved earth

P : float |list

if len(P) == 1 => P is a distance if len(P) == 4 => P is a list of [lon0,lat0,lon1,lat1]

where : lat0 : float |string

latitude first point (decimal |deg min sec Direction)

lat1float |string

latitude second point (decimal |deg min sec Direction)

lon0float |string

longitude first point (decimal |deg min sec Direction)

lon1float |string

longitude second point (decimal |deg min sec Direction)

h0float:

height of 1st point

h1float:

height of 2nd point

k : electromagnetic earth factor

dlossfloat

length of direct path (meter)

dreffloat

length of reflective path (meter)

psyfloat

Reflection angle

    1. Mahafza, Radar systems analysis and design using MATLAB, Third edition. Boca Raton; London: CRC/Taylor & Francis, chapter 8, 2013.