Determines physical distance from a transmission or reflection Network.
Given a matched transmission or reflection measurement the physical distance is estimated at each frequency point based on the scattering parameter phase of the ntwk and propagation constant.
If the Network is a reflect measurement, the returned distance will be twice the physical distance.
ntwk (Network) – A one-port network of either the reflection or the transmission.
d – physical distance
- Return type:
number or array_like
>>> air = rf.air50 >>> l = air.line(1, 'cm') >>> d_found = air.extract_distance(l.s21) >>> d_found