kicad2ems.gui.impedance

Tools > Impedance calculator: a line's impedance in a stack-up, without a board
(kicad2ems's lines.calc: the 2D field solver). The stack typed, or the open
board's around one of its copper layers; the line's width and copper, a pair's
gap, coplanar ground; Z0, Zdiff, εeff and the delay as they are typed, the field
drawn (the viewer's Section view), and Fit: the width or gap of a target
impedance.

    dlg = ImpedanceCalculator(parent, board='board.kicad_pcb')
        # board: optional, its layers offered as stacks
    dlg.line()
        # the lines.calc.Line of what is typed
    dlg.result
        # calculate()'s dict of it, once solved
class kicad2ems.gui.impedance.ImpedanceCalculator(parent=None, board=None)[source]
The calculator's window. Every change solves again (a tenth of a second);
Fit changes the width, the gap or the ground's distance until the impedance
chosen is the target.
calculate(fit=False)[source]
Solve what is typed (fit: first change the size chosen to the
target's). The answer arrives in _done.
line()[source]
The Line of what is typed (ValueError: what is wrong with it).
set_board(path)[source]
The board whose layers the stack can be taken from (None, or one
without a stack-up: typed only).
text()[source]
The line and its numbers as the command prints them ('' before a
solve).
wait_jobs(ms=15000)[source]
Let the solves going end (the window's close: a QThread destroyed
while it runs aborts the program).