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) – electrical 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.

Returns:

d – physical distance in m

Return type:

number or array-like (real)

Note

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