-gpp-inter-ue-spatial-consistency-example More...
-gpp-inter-ue-spatial-consistency-example
Run and plot the three-gpp-inter-ue-spatial-consistency-example.
Runs the example twice per comparison, with the compared feature disabled and
enabled, and produces one figure per comparison showing:
- the two SNR maps,
- their small-scale residuals (gain minus a local box average), which
isolate the shadow-fading term from the distance-dependent path loss,
- the gain CDFs of the two maps.
Two comparisons are available (both run by default):
- spatialConsistency: inter-UE spatially consistent generation (TR 38.901
Sec. 7.6.3.1). Spatial consistency changes the spatial structure of the
shadow fading (from per-point white noise to a correlated field), while
leaving its marginal distribution untouched: the two CDFs are expected to
coincide, up to the sampling noise of a single drop (a map spanning a few
correlation distances only contains a few tens of independent
shadow-fading samples).
- largeBandwidth: intra-cluster angular and delay spread modeling (TR
38.901 Sec. 7.6.2.2). Each ray becomes an individually delayed tap with
unequal powers, changing the fast-fading realization of every point but
preserving the per-cluster power budget: the SNR maps differ point by
point in their fast-fading term, while the CDFs are again expected to
coincide.
Usage (from the ns-3 root directory, after building the examples):
python3 src/spectrum/examples/three-gpp-inter-ue-spatial-consistency-example.py