Circuit groups with different resistances can be connected over a coil and a capacitor.
Because coils and capacitors are used, the matches are frequency-dependent.
Such matches with LC networks are usable only for one frequency.

If you want to know, how looks the equations used into the script, then see at the mathematical background: coil, capacitor.