itmlogic package

itmlogic

Submodules

itmlogic.lrprop module

itmlogic.lrprop.lrprop(d, prop)[source]

The basic Longley-Rice propagation program which returns the reference attenuation (aref) as in Eqn 4.1 of “The ITS Irregular Terrain Model, version 1.2.2: The Algorithm”.

The value of mdp controls some of the program flow. When it equals -1 we are in point-to-point mode, when 1 we are in the beginning of the area mode, and when in 0 we are continuing the area mode. The assumption is that when one uses the area mode, one will want a sequence of results for varying distances.

Parameters:
  • d (float) – Distance
  • prop (dict) – Contains all input propagation parameters
Returns:

prop – Contains all input and output propagation parameters, including the reference attenuation (aref).

Return type:

dict