kicad2ems.pcbqs.reports¶
What a result folder of each tool holds, in the forms a front end shows without
knowing the tool: a report to read (a title, a line, sections of text and
tables, notes, pictures) and curve sets to plot. Plain dicts and lists, read
from the tool's own result file; kicad2ems's Analysis.report and Analysis.curves
are these (analyses.py), and nothing here needs kicad2ems.
report('pdn', folder) dict(title, summary, sections=[dict(title, text,
table=dict(columns, rows, formats), notes)], notes,
images, footer), or None: no result there
curves('pdn', folder) [dict(title, xlabel, ylabel, logx, logy, info,
curves=[dict(name, x, y, role, unit)])]
A table's cells are numbers or strings; formats give a column's number format
(None: '.4g'). The maps of a result are not pictures here: each tool writes them
as field dumps, which a viewer shows (pdn/viewer.py, thermal/viewer.py, the near
field's own); images holds only what has no dump (a circuit's fields picture).
- kicad2ems.pcbqs.reports.circuit_curves(res, folder='')[source]¶
A run's waveforms over the last two periods: per point, its probes' voltages and currents (a model without probes: its capacitors' voltages and inductors' currents).
- kicad2ems.pcbqs.reports.circuit_report(res, folder='')[source]¶
A circuit run: a row a point, then for each point where its loss goes and its parts' stress.
- kicad2ems.pcbqs.reports.circuit_suggest(res, folder='', pads=None)[source]¶
What a circuit's run draws from its supply (a case's 'supply': circuit/supply.py), for the others: the rail with its DC loads and their current spectra for the power-integrity analysis, and a part's input current for the near field. Of the point that draws most. pads: {footprint: the nets of its pads} of the model's board, when known: only parts on it are proposed.
- kicad2ems.pcbqs.reports.conducted_curves(res, folder='')[source]¶
Each point's readings over frequency (the worse line's peak, QP and average, the modes' QP) and the limit lines.
- kicad2ems.pcbqs.reports.conducted_report(res, folder='')[source]¶
A conducted-emission run: each point's margins (band, detector, where, the reading, the limit), the networks and the capacitances to the reference.
- kicad2ems.pcbqs.reports.mqs_suggest(res, folder='')[source]¶
The converter's input rail, for the power-integrity analysis: its net, its ground and its voltage; the source and the loads are not the near field's to know. And the converter as a circuit (circuit/converter.py's model, which the run wrote), for the circuit analysis: with the board's copper.