skrf.tlineFunctions.theta

skrf.tlineFunctions.theta(gamma, f, d, deg=False)

Electrical length of a section of transmission line.

\[\theta = \gamma(f) \cdot d\]
Parameters:
  • gamma (number, array-like or function) – propagation constant. See Notes. If passed as a function, takes frequency in Hz as a sole argument.

  • f (number or array-like) – frequency at which to calculate

  • d (number or array-like) – length of line, in meters

  • deg (Boolean) – return in degrees or not.

Returns:

theta – electrical length in radians or degrees, depending on value of deg.

Return type:

number or array-like

See also

electrical_length_2_distance

opposite conversion

Note

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