From b9f15f79438b07ce3e0788bd4460481f4ef68130 Mon Sep 17 00:00:00 2001 From: Timothy Pelham Date: Tue, 19 Jul 2022 14:47:15 +0100 Subject: [PATCH] Added Antenna Array class to store element patterns. --- .../07_aperture_farfield_polarisation.py | 2 +- .../07_aperture_farfield_polarisation.ipynb | 2 +- .../07_aperture_farfield_polarisation.py | 6 +++--- .../07_aperture_farfield_polarisation.py.md5 | 2 +- .../07_aperture_farfield_polarisation.rst | 8 ++++---- ...rture_farfield_polarisation_codeobj.pickle | Bin 4257 -> 4254 bytes .../auto_examples/auto_examples_jupyter.zip | Bin 71911 -> 72138 bytes .../auto_examples/auto_examples_python.zip | Bin 46347 -> 46596 bytes docs/source/auto_examples/index.rst | 2 +- .../auto_examples/sg_execution_times.rst | 16 ++++++++-------- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/examples/07_aperture_farfield_polarisation.py b/docs/examples/07_aperture_farfield_polarisation.py index 795b57a..1e7895a 100644 --- a/docs/examples/07_aperture_farfield_polarisation.py +++ b/docs/examples/07_aperture_farfield_polarisation.py @@ -6,7 +6,7 @@ This example uses the frequency domain :func:`lyceanem.models.frequency_domain.calculate_farfield` function to predict the farfield pattern for a linearly polarised aperture. This could represent an antenna array without any beamforming -weights. +weights. This example differs from 02 by using the antenna structure class as a container for both the antenna points and structure, and also by calling the calculate farfield function using the class. """ diff --git a/docs/source/auto_examples/07_aperture_farfield_polarisation.ipynb b/docs/source/auto_examples/07_aperture_farfield_polarisation.ipynb index e1accd2..ed73b1f 100644 --- a/docs/source/auto_examples/07_aperture_farfield_polarisation.ipynb +++ b/docs/source/auto_examples/07_aperture_farfield_polarisation.ipynb @@ -15,7 +15,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "\n# Modelling a Coherently Polarised Aperture\n\nThis example uses the frequency domain :func:`lyceanem.models.frequency_domain.calculate_farfield` function to predict\nthe farfield pattern for a linearly polarised aperture. This could represent an antenna array without any beamforming\nweights.\n" + "\n# Modelling a Coherently Polarised Aperture using the Antenna Structure Class\n\nThis example uses the frequency domain :func:`lyceanem.models.frequency_domain.calculate_farfield` function to predict\nthe farfield pattern for a linearly polarised aperture. This could represent an antenna array without any beamforming\nweights. This example differs from 02 by using the antenna structure class as a container for both the antenna points and structure, and also by calling the calculate farfield function using the class.\n" ] }, { diff --git a/docs/source/auto_examples/07_aperture_farfield_polarisation.py b/docs/source/auto_examples/07_aperture_farfield_polarisation.py index fff0f7f..1e7895a 100644 --- a/docs/source/auto_examples/07_aperture_farfield_polarisation.py +++ b/docs/source/auto_examples/07_aperture_farfield_polarisation.py @@ -1,12 +1,12 @@ #!/usr/bin/env python # coding: utf-8 """ -Modelling a Coherently Polarised Aperture -====================================================== +Modelling a Coherently Polarised Aperture using the Antenna Structure Class +============================================================================ This example uses the frequency domain :func:`lyceanem.models.frequency_domain.calculate_farfield` function to predict the farfield pattern for a linearly polarised aperture. This could represent an antenna array without any beamforming -weights. +weights. This example differs from 02 by using the antenna structure class as a container for both the antenna points and structure, and also by calling the calculate farfield function using the class. """ diff --git a/docs/source/auto_examples/07_aperture_farfield_polarisation.py.md5 b/docs/source/auto_examples/07_aperture_farfield_polarisation.py.md5 index bd8c7ff..73af68f 100644 --- a/docs/source/auto_examples/07_aperture_farfield_polarisation.py.md5 +++ b/docs/source/auto_examples/07_aperture_farfield_polarisation.py.md5 @@ -1 +1 @@ -a2624b519e270d80bd98f8329e4a2b7b \ No newline at end of file +ab0efc9716658cb2e067997dd33b434b \ No newline at end of file diff --git a/docs/source/auto_examples/07_aperture_farfield_polarisation.rst b/docs/source/auto_examples/07_aperture_farfield_polarisation.rst index 775e0c0..a8fbdd1 100644 --- a/docs/source/auto_examples/07_aperture_farfield_polarisation.rst +++ b/docs/source/auto_examples/07_aperture_farfield_polarisation.rst @@ -18,12 +18,12 @@ .. _sphx_glr_auto_examples_07_aperture_farfield_polarisation.py: -Modelling a Coherently Polarised Aperture -====================================================== +Modelling a Coherently Polarised Aperture using the Antenna Structure Class +============================================================================ This example uses the frequency domain :func:`lyceanem.models.frequency_domain.calculate_farfield` function to predict the farfield pattern for a linearly polarised aperture. This could represent an antenna array without any beamforming -weights. +weights. This example differs from 02 by using the antenna structure class as a container for both the antenna points and structure, and also by calling the calculate farfield function using the class. .. GENERATED FROM PYTHON SOURCE LINES 13-17 @@ -397,7 +397,7 @@ Generate N-normal directed electric current source .. rst-class:: sphx-glr-timing - **Total running time of the script:** ( 0 minutes 10.545 seconds) + **Total running time of the script:** ( 1 minutes 21.755 seconds) .. _sphx_glr_download_auto_examples_07_aperture_farfield_polarisation.py: diff --git a/docs/source/auto_examples/07_aperture_farfield_polarisation_codeobj.pickle b/docs/source/auto_examples/07_aperture_farfield_polarisation_codeobj.pickle index 8f31ec212aafbaf641ed4f54b712b662cb5d73a5..06136a28e447ff8606f6f1b47030367fda7ccd45 100644 GIT binary patch delta 399 zcmZ9IJxBs^7{+-o|EGUH2@-4wPazW{O3a$1A#wm?A z)S6maik5;VqoD?&f*=rrwrH)O!Mby6`@J8}`|!L+fl9!#&i0^N`YEFiz2LyHKwb#W zB>Au_Oh`S7Yg=6_hZU>FR^_Gaa#`UT%c$wxN?CCz5*{pZ>IG*Kg%M#jisFui#9>1w z>jObd+CT|BI`=7wF;@U3*C@V)OFnIGXgrTj$EG-IR=9E>GTA^h+}=(xo0BuKdBaC( z&wZ9bo;EP0an%q~9^A1*MUOzqed2++jgmVgR@->vs?!P1JEG!g zyYa;$!7~HfF|A9f`NdS`U(gG9tVOy8qkFnV!IKx12AZ}wJ)w(-=@|(w(F^9dpPDHA q@hhr4$lr{+vevEYLw@rWADFVM^og3?i>y6{Iv=4He)tSpp5tG=*ouNNm{bK+krJ0MEw}z6dHue zKiFrDJWK8&I*X(~?1*%V5)2(Hapx`l~m=>hW;6`%BZ zQN@jUg+1$^#)W#+@k{($rG|6Cg|rZ&1dNtD%ZKi>_yR6OFZ-&-IJ#JlzENOKd@_lC Va9~xf(?&8FbUTQcLqU@x^AGW2bzuMi diff --git a/docs/source/auto_examples/auto_examples_jupyter.zip b/docs/source/auto_examples/auto_examples_jupyter.zip index 4a04992352a09162e824dd3885ca677647c1a98b..cb88e5f967a6b9e825ae87534f02ab3b36cd8362 100644 GIT binary patch delta 354 zcmaF9k>%88mJLUj^4%@{91<0^_3;@w28J_on=dcD�tOTAZ1eu27PZs^FMclA4#7 zs1RIIRGM5;T9m5boRe5wJXuOpV{ zr6|C)>j1e9DGG@>#rYtMk`r@sV6FzTlS^|FOHvim5{uF@Q*%-j(n|A^OEUBGkQ@ZE ze)Gj+VJwr+Xb4OWV(*x|_q537wQJ3?&_ZSUM{&kfwlhZ<7!1s&3rH|(OmC53lw&G; cIC=d8U9kXfRyGD8U=F3a(Gj9IO_?&g}f-@qUC#*BeLQ^sQ qiUeaS)62utttA<~SSCMUV3=GLqd0j(HOusMl8j<(3&a>17#IMitSAfs diff --git a/docs/source/auto_examples/auto_examples_python.zip b/docs/source/auto_examples/auto_examples_python.zip index 3704a4e0c1cf2591c58375398ec6b9f4b9902c27..c1c03c09aa89efcd445e2cf2bf37aef8fc862cf0 100644 GIT binary patch delta 332 zcmY+Aze)o^5XRRlQU1A(k)?3)y4f_YQGKHNe9Qzn)g13dO zwOt+~*jd<#dtyQyW?%+pe&5GDF0+S^Y<{kHUi{~{zFzj9wh8HKpM*Rf2B$}R;H^+M z;3|YmG zh6|J>aIcsXT5TBWL<%K f$WHd($}@S%Ryn4e-pP%9T9e;x6=1u$i2(=zJHR44 diff --git a/docs/source/auto_examples/index.rst b/docs/source/auto_examples/index.rst index 4b57191..ca992a9 100644 --- a/docs/source/auto_examples/index.rst +++ b/docs/source/auto_examples/index.rst @@ -58,7 +58,7 @@ A selection of examples of LyceanEM features .. only:: html .. figure:: /auto_examples/images/thumb/sphx_glr_07_aperture_farfield_polarisation_thumb.png - :alt: Modelling a Coherently Polarised Aperture + :alt: Modelling a Coherently Polarised Aperture using the Antenna Structure Class :ref:`sphx_glr_auto_examples_07_aperture_farfield_polarisation.py` diff --git a/docs/source/auto_examples/sg_execution_times.rst b/docs/source/auto_examples/sg_execution_times.rst index 0316224..00b06c2 100644 --- a/docs/source/auto_examples/sg_execution_times.rst +++ b/docs/source/auto_examples/sg_execution_times.rst @@ -5,20 +5,20 @@ Computation times ================= -**12:09.692** total execution time for **auto_examples** files: +**01:21.755** total execution time for **auto_examples** files: +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_auto_examples_04_time_domain_channel_modelling.py` (``04_time_domain_channel_modelling.py``) | 04:43.360 | 0.0 MB | +| :ref:`sphx_glr_auto_examples_07_aperture_farfield_polarisation.py` (``07_aperture_farfield_polarisation.py``) | 01:21.755 | 0.0 MB | +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_auto_examples_05_array_beamforming.py` (``05_array_beamforming.py``) | 04:14.648 | 0.0 MB | +| :ref:`sphx_glr_auto_examples_01_aperture_projection.py` (``01_aperture_projection.py``) | 00:00.000 | 0.0 MB | +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_auto_examples_03_frequency_domain_channel_modelling.py` (``03_frequency_domain_channel_modelling.py``) | 02:10.079 | 0.0 MB | +| :ref:`sphx_glr_auto_examples_02_coherently_polarised_array.py` (``02_coherently_polarised_array.py``) | 00:00.000 | 0.0 MB | +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_auto_examples_01_aperture_projection.py` (``01_aperture_projection.py``) | 00:31.312 | 0.0 MB | +| :ref:`sphx_glr_auto_examples_03_frequency_domain_channel_modelling.py` (``03_frequency_domain_channel_modelling.py``) | 00:00.000 | 0.0 MB | +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_auto_examples_02_coherently_polarised_array.py` (``02_coherently_polarised_array.py``) | 00:17.759 | 0.0 MB | +| :ref:`sphx_glr_auto_examples_04_time_domain_channel_modelling.py` (``04_time_domain_channel_modelling.py``) | 00:00.000 | 0.0 MB | +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_auto_examples_07_aperture_farfield_polarisation.py` (``07_aperture_farfield_polarisation.py``) | 00:10.545 | 0.0 MB | +| :ref:`sphx_glr_auto_examples_05_array_beamforming.py` (``05_array_beamforming.py``) | 00:00.000 | 0.0 MB | +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+ -| :ref:`sphx_glr_auto_examples_06_farfield_polarisation.py` (``06_farfield_polarisation.py``) | 00:01.990 | 0.0 MB | +| :ref:`sphx_glr_auto_examples_06_farfield_polarisation.py` (``06_farfield_polarisation.py``) | 00:00.000 | 0.0 MB | +-----------------------------------------------------------------------------------------------------------------------+-----------+--------+