Some personal scripts for testing RF electronics.
Usage:
./vna-to-tdr.py network.s2p
Convert the measurement results of a 2-port network from frequency domain (as measured by a Vector Network Analyzer in S-parameters) to time domain (as measured by a Time Domain Reflectometer, as impedance versus time). This is possible by extrapolating the frequency response to DC, then performing Inverse Fourier Transform - all is done automatically by calling scikit-rf.
WIP. It needs a full rewrite.