kicad2ems.dfsynth.cli

dfsynth: distributed-element microstrip filter synthesis -> KiCad layout
(+ kicad2ems validation).

    dfsynth --type bandpass --topology coupled --f0 2.4G --bw 200M \
            --order 5 --substrate RO4003C-0.508 -o out/bpf \
            --validate mom,lines
    dfsynth --type lowpass --topology stepped --f0 1.5G --atten 40@3G \
            --substrate FR4-1.6 -o out/lpf
    dfsynth --type bandstop --topology stub --f0 2.4G --bw 1G -o out/bsf \
            --validate mom --em-tune 2
    dfsynth --list
    dfsynth --describe --json
        # the types, topologies, presets and options, for a front end (the GUI)
kicad2ems.dfsynth.cli.description()[source]
What --describe --json prints: the filter types and their topologies, the
substrate presets, and each option as {key, flag, kind ('str' / 'float' /
'int' / 'flag'), default, choices, help, group}.
kicad2ems.dfsynth.cli.freq(s)[source]
'2.4G', '2.4GHz', '500M', '2.4e9' -> Hz.
kicad2ems.dfsynth.cli.reachable_bw(spec, sub, kf=1.0, kb=1.0)[source]
The bandwidth nearest the spec's whose synthesis meets the fabrication
limits (None if none in 0.05 to 3 x the spec's, or for a type without
one).