Python Logo
0.5
  • User Manual
  • Loading an outdoor layout from its address
  • Antenna Pattern for an H plane sectoral antenna @ 32GHz
  • Building graphs of a Layout
  • Indoor Radio Coverage with Motley Keenan
  • 8 Random Layout
  • Exemple of issue 314
  • Attenuation due to atmospheric gases
  • Evaluation of a radio link DLink
  • Indoor Radio Coverage FP7 WHERE1 M1 setup
  • UWB Ray tracing simulation in outdoor scenario
  • Outdoor Radio Coverage with Deygout Method
  • Outdoor Radio Coverage with Deygout Method
  • Diffraction coefficient
  • Diffraction coefficient
Python
  • Docs »
  • <no title> »
  • Evaluation of a radio link DLink
  • View page source

Evaluation of a radio link DLinkΒΆ

Load a Layout, set the transmitter and receiver position and evaluates the link

  • ../_images/sphx_glr_plot_exDLink_001.png
  • ../_images/sphx_glr_plot_exDLink_002.png
  • ../_images/sphx_glr_plot_exDLink_003.png
  • ../_images/sphx_glr_plot_exDLink_004.png

Out:

Warning Unable to read graph Gr
Warning Unable to read graph Gw
Layout Graph loaded

from pylayers.simul.link import *
import pylayers.signal.waveform as wvf

# set the frequency range from 2.4GHz to 10GHz
fGHz = np.arange(2.4,10.,0.05)
# set the layout from its filename
L = Layout('defstr.lay')
# set the link
DL = DLink(L=L,fGHz=fGHz)
# set the b point position
DL.a = np.array([2,3,1.2])
DL.b = np.array([8,3.5,2.])
# evaluate the link in forcing re-calculation of
#
#   + signatures
#   + rays
#   + Tilded(*) Propagation Channel
#   + Transmission Channel H
#
# Diffraction : enabled
# Vectorization : enabled
#
DL.eval(cutoff=4, threshold=0.1, ra_vectorized=True, diffraction=True)
DL
DL.show()
plt.figure()
DL.H.show()
plt.title('Ray transfer funtion w.r.t frequency Modulus and Phase')
plt.show()
plt.figure()
DL.plt_cir()
plt.show()

Total running time of the script: ( 0 minutes 9.032 seconds)

Download Python source code: plot_exDLink.py

Download Jupyter notebook: plot_exDLink.ipynb

Generated by Sphinx-Gallery

Next Previous

© Copyright 2017, PyLayers developer team Last updated on Apr 02, 2019.

Built with Sphinx using a theme provided by Read the Docs.