comnum.los_probability#
- comnum.los_probability(scenario, d2d_out_m, *, h_ut_m=1.5, h_bs_m=None, office='mixed', clutter_size_m=10.0, clutter_density=0.2, clutter_height_m=2.0)#
The probability of a line of sight (TR 38.901 Table 7.4.2-1).
- Parameters:
scenario (str) – as
path_loss_db.d2d_out_m (float) – the outdoor horizontal distance (m); the indoor distance for
"inh".h_ut_m (float) – the UT height (m).
h_bs_m (float | None) – the BS height (m) of the InF scenarios with a high BS.
office (str) –
"mixed"or"open", for"inh".clutter_size_m (float) – the clutter size of InF (m), Table 7.2-4.
clutter_density (float) – the clutter density of InF (0 to 1).
clutter_height_m (float) – the clutter height of InF (m).
- Returns:
the probability.
- Return type:
- Raises:
ValueError – for an unknown scenario or office.
Examples
>>> import comnum >>> comnum.los_probability("umi", 10.0) 1.0