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.

\[d = \frac{\theta}{\gamma(f_0)}\]
Parameters:
  • theta (number or array-like) – electical length. units depend on deg option
  • gamma (function) – propagation constant function, which takes frequency in hz as a sole argument. see Notes
  • f0 (number or array-like) – frequency at which to calculate
  • deg (Boolean) – return in degrees or not.
Returns:

d

Return type:

physical distance

Notes

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

See also

distance_2_electrical_length()
opposite conversion