Estimation of cable characteristic impedance from one-port measurements