distance_2_electrical_length(gamma, f, d, deg=False)¶
Calculates the electrical length of a section of transmission line.\[\theta = \gamma(f) \cdot d\]
- 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
- opposite conversion
the convention has been chosen that forward propagation is represented by the positive imaginary part of the value returned by the gamma function