# skrf.tlineFunctions.electrical_length_2_distance¶

skrf.tlineFunctions.electrical_length_2_distance(theta, gamma, f0, deg=True)[source]

Convert electrical length to a physical distance.

$\begin{split}d = \\frac{\\theta}{\\gamma(f_0)}\end{split}$
Parameters: theta (number or array-like) – electical length. units depend on deg option gamma (number, array-like or function) – propagation constant. See Notes. If passed as a function, takes frequency in Hz as a sole argument. f0 (number or array-like) – frequency at which to calculate gamma deg (Boolean) – return in degrees or not. d – physical distance in m number or array-like (real)

Notes

the convention has been chosen that forward propagation is represented by the positive imaginary part of the value returned by the gamma function

distance_2_electrical_length()