kicad2ems.gui.app

kicad2ems GUI (PySide6 + pyqtgraph): set up a study, preview it, watch it, see
the results. The window has the study on the left (the board, the analyses made
of it and the settings of the one selected: study.py) and its pages:

    Viewer   the board in 3D or from above, a solver's mesh, the line model
             coloured by Z0 (pick a section to read it), field dumps in place or
             as cuts (live while the run goes), the far field, the run's plots
    Run      the analyses of the run and where each is, openEMS's energy decay
             and mom25d's adaptive sweep, the log of each (the tab reads Log)
    Runs     this board's runs, a row each: the one the pages show, those laid
             over it, deleted (runspanel.py)
    Results  S-parameters and antenna results as Cartesian, Smith and polar
             plots you add and remove; an analysis's result as its curves, its
             report to read, or its tables to sort and export
    Filter Synthesis
             design a microstrip filter with dfsynth, validate and tune it on
             the solvers, open its board here
    Draw     arbitrary shapes over the board, in plan and 3D (copper, cuts,
             solids, ports), for the runs to add (drawtab.py)
    Circuit  the circuit analysis's model as a schematic to edit
             (pcbqs.circuit), when that analysis is installed

The analyses beside S-parameters are those kicad2ems's registry holds
(kicad2ems.core.analyses.registry: pcbqs's power integrity, near field,
circuit and thermal). The window knows none of them by name: each one's settings
are a panel in the study made from its options (analysispanel.py), the toolbar's
Run starts its command with the rest, its maps are field dumps the Viewer shows
and its report and curves are on the Results page.

Run starts the analyses ticked in the study one after the other (run_study),
each after the one it starts from. Every run is the command-line tool started as
a separate process with --events; the GUI follows its event stream, so a closed
window never kills a simulation's results and the GUI needs no openEMS of its
own. The window's size, its docks and splitters, and the Results plots are
remembered between sessions.

    kicad2ems-gui [config.toml]

The window is MainWindow here, made of a part a job (each a class of its own
module, MainWindow's methods as they were): windocks.py its pages, toolbar and
menus; winconfigs.py configs and examples; winstudy.py the study, what a run
still needs and picking on the board; winrun.py the runs as they go;
winresults.py this board's runs and the one shown (runspanel.py their page);
winparts.py the small windows and threads.
class kicad2ems.gui.app.MainWindow(config=None)[source]
kicad2ems.gui.app.install_excepthook()[source]
An exception a slot raises: its traceback on stderr, as before, and in a
dialog that does not wait (R-E25: A1 had shown nothing in the window).