- skrf.tlineFunctions.distance_2_electrical_length(gamma, f, d, deg=False)¶
Electrical length of a section of transmission line.\[\theta = \gamma(f) \cdot d\]
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.
theta – electrical length in radians or degrees, depending on value of deg.
- Return type
number or array-like
The convention has been chosen that forward propagation is represented by the positive imaginary part of the value returned by the gamma function.