How to plot far-field 3D power pattern in dBi? #71
-
|
I'm just getting started with trying out OpenEMS, and I'm excited by the capability it seems to offer! One question I had was how to plot the 3D directivity pattern of the an antenna in dBi. I can see that the example scripts use the plotFF3D function to generate the far-field electric field pattern (V/m) on a linear or logarithmic scale, but I haven't found a function that can plot the same 3D far-field pattern relative to an isotropic far-field pattern (dBi). I think that I've seen some 3D power pattern plots generated by OpenEMS, so I feel like this feature probably exists and I just haven't found it yet. What I've found so far:
Is there a version of plotFFdB that generates a 3D plot? It looks pretty straightforward to mash some |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
|
I ended up writing a function to do this! It will also plot the antenna geometry itself, as long as it's made of only CSX boxes and you have matGeom installed and I wanted to separate out the antenna / radiation pattern plotting from the OpenEMS simulation workflow so that I could plot antennas after a run completed, so this script assumes that all of the necessary variables from |
Beta Was this translation helpful? Give feedback.


I ended up writing a function to do this! It will also plot the antenna geometry itself, as long as it's made of only CSX boxes and you have matGeom installed and
matGeom/matGeomadded to your path. Could also be refactored to use MATLAB / Octave's built-in mesh3 function instead with pretty minimal effort.I wanted to separate out the antenna / radiation pattern plotting from the OpenEMS simulation workflow so that I could plot antennas after a run completed, so this script assumes that all of the necessary variables from
examples/antennas/inverted_f.mare saved as a file calledvariables.mat. Variables likenf2ffetc are pulled from there. The antennas in the screenshots are from a di…