# skrf.tlineFunctions.electrical_length¶

skrf.tlineFunctions.electrical_length(gamma, f, d, deg=False)[source]

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

electrical_length_2_distance