kicad2ems.gui.steering

The Results page's Beam steering bar, for an antenna result with each port's far
field kept (mom25d's <name>_mom25d_array.npz, phased.py): the drive
(PORT[=amplitude][@phase] per port, the run's to start with) and phase steps on
top of it, with an amplitude taper (Taylor, Chebyshev, cosine) for lower
sidelobes, recombined at once, without solving again. Without a grid the step
goes from each driven port to the next (a line of elements); with one
(COLSxROWS, or PORT:COL,ROW per port: a 2D array such as a 4 x 4 patch array
with a feed line per patch) there are two, X per column and Y per row, and a
phase map shows each element's phase and active reflection. Aim (results that
kept the ports' places) points the beam at an angle instead, each port's phase
from its place at the pattern frequency (phased.aim), on top of the drive and
the steps. The plots (gain over frequency, the far-field cuts) and the 3D view's
pattern follow; Animate sweeps X, Y, or both round a circle (a conical scan), or
with Aim the angle: theta back and forth, or phi round.

    bar = SteeringBar()      # compact=True: stacked, for the 3D view's side
                             # panel
    bar.set_data(res, data)  # the antenna result (JSON dict) and phased.load's
                             # data, or None: hidden
    bar.steered.connect(lambda res, sphere: ...)
    other.mirror(bar)        # another bar showing the same drive, grid and
                             # steps (Results page's, 3D view's)
class kicad2ems.gui.steering.PhaseMap[source]
The 2D array's elements as a grid (column right, row down: row 0 the top
row), each coloured by its phase (the hue; grey: not driven) with its port,
phase and active reflection.
class kicad2ems.gui.steering.SteeringBar(compact=False)[source]
follow_animation(on)[source]
Another bar started or stopped Animate: the button shows it, this
bar's own timer stays off.
mirror(other)[source]
Show another bar's drive, grid and phase steps (its plots are already
drawn: nothing emitted).
places()[source]
{port: (x, y)} of the ports the run kept places for (model mm), empty
for an older result.
set_data(res, data)[source]
An antenna result and its per-port far fields (phased.load), or None:
the bar hidden.
weights()[source]
The incident waves of the drive, the taper, the grid and the phase
steps; ValueError for a drive or grid that does not parse.