kicad2ems.core.sparams¶
S-parameter post-processing: mixed-mode conversion for differential ports.
- kicad2ems.core.sparams.compared(paths, most=4)[source]¶
Several Touchstone files' figures side by side: dict(names (the figures, in the first file's order and then the others' own), values {name: [a number or None per file]}, spread {name: the largest difference between the files that give it, or None}) from {label: path}.
- kicad2ems.core.sparams.figures(path, most=4)[source]¶
A Touchstone file's figures, to set combinations side by side: the worst match (S11's highest, dB) and its dip (S11's lowest, dB, and where, GHz) at each port, and each transmission term's value at the band's centre and its lowest (dB); ports past `most` left out. {} for a file that cannot be read.