Antenna Panel
[1]:
import numpy as np
import scipy.io
import neoradium as nr
[2]:
# We first create an antenna element template. The antenna panel class "AntennaPanel" uses this
# template to create the elements of the panel.
elementTemplate = nr.AntennaElement(beamWidth=[65,65], maxAttenuation=30)
# Now we can create the antenna panel using the antenna element template. Note that the spacing between the
# elements is 0.5𝜆 by default.
panel = nr.AntennaPanel([4,4], elements=elementTemplate, polarization="+")
# The "showElements" method draws the antenna panel showing all the elements.
panel.showElements(zeroTicks=True)

[3]:
# Depending on the input parameters the "drawRadiation" method can create different types of graphs. Here
# we draw the Field values of the antenna panel at the horizontal plane of zero elevation.
radValues = panel.drawRadiation(theta=90, viewAngles=(90,0), radiationType="Field", normalize=False)

[4]:
# Here the "drawRadiation" method is used to draw the Field values in the vertical plane at azimuth angle 0.
radValues = panel.drawRadiation(phi=0, radiationType="Field", normalize=False)

[5]:
# Here the "drawRadiation" method is used to draw a 3D graph of directivity.
radValues = panel.drawRadiation(radiationType="Directivity", normalize=True, viewAngles=(60,10))

[ ]: