kicad2ems.gui.resultstab

The Plots page: S-parameters and antenna results as Cartesian, Smith and
polar plots you add and remove, and an analysis's curves (ResultsTab). Moved out
of app.py (R-F2).
class kicad2ems.gui.resultstab.ResultsTab(win)[source]
The Results page: the S-parameters of every solver and, for an antenna,
its gain, efficiency and pattern cuts, as subplots you add and remove
(splot.SPlot). The plots of a page are remembered: one layout for
S-parameters, one for antennas. An analysis's result (a rail's drop and
impedance, a near field, a circuit, a board's temperature: whatever
kicad2ems's registry holds) takes the page instead with its curves
(curveplot.CurvePlot; a result with several sets: one at a time), and has
two more pages, which this one fills: Report, what it found, to read
(`reportview`), and Tables, the report's tables to sort, copy and export
(`tablesview`; reportview.ReportView both). Compare with lays a run's own
variations, or another folder, over the plots (this board's other runs:
the Runs page).
add_folder(d, label=None)[source]
Another run over the one shown: its S-parameters (under label, else
its folder's name), or its curves when the page shows an analysis's
(the same kind only). False: nothing of that kind in the folder.
compared()[source]
The folders laid over the run shown (of its kind).
export_touchstone(src, dst=None)[source]
A copy of the Touchstone file src at dst (asked for without one; its
extension kept: .s2p ...). Returns the path written, or None.
kind()[source]
What the page shows: 'rf' (S-parameters, antenna) or the analysis
whose result it is ('pdn', 'thermal').
A Beam steering bar (this page's, the 3D view's): every bar shows the
same drive, and steering any redraws the antenna plots and the 3D
pattern.
load_analysis(out_dir)[source]
A folder's result of an analysis (whichever kicad2ems's registry says
it is of) onto the page in place of the S-parameter plots: its report
and its curves. False: it holds none, and the page shows
S-parameters.
load_antenna(out_dir, path=None)[source]
The antenna results of a folder (path: which; default the newest)
into the plots; False: none.
modes()[source]
The views the result shown has: Plots (it has curves), Report, Tables
(its report has tables).
remove_folder(d=None)[source]
One compared run off the page (None: all of the kind shown).
set_mode(mode)[source]
The page of an analysis's result in front: Plots, Report or Tables
(one the result has; else its first). They are pages of their own, so
this only brings one forward.
set_notes(warns, notes)[source]
The run's warnings (red) and notes under a fold, open when there is a
warning; hidden when none.
show_files(files, compare=None)[source]
The S-parameters of a run's files (openEMS, mom25d, line model) and a
compare file.
sweeps()[source]
The shown run's variations to lay over it: [(label, 'folder' |
'file', path)]: each run of its --vary (<name>_vary.json: a folder each)
and each part value combination of its solvers (--part-value: a
file).
touchstones()[source]
[(label, path)] of the shown run's Touchstone files, as the run lists
them.