# skrf.tlineFunctions.distance_2_electrical_length¶

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

Calculates the electrical length of a section of transmission line.

$\theta = \gamma(f) \cdot d$
Parameters: gamma (function) – propagation constant function, which takes frequency in hz as a sole argument. see Notes. l (number or array-like) – length of line, in meters f (number or array-like) – frequency at which to calculate deg (Boolean) – return in degrees or not. theta – electrical length in radians or degrees, depending on value of deg. number or array-like

electrical_length_2_distance()