calc_gamma
- pysmithchart.utils.calc_gamma(Z_0, Z_L)[source]
Computes the reflection coefficient Gamma for a load impedance.
The reflection coefficient is defined as:
Gamma = (Z_L - Z_0) / (Z_L + Z_0)
where Z0 is the reference (characteristic) impedance and ZL is the load impedance.
- Parameters:
Z_0 – Reference (characteristic) impedance Z0 in ohms. Typically real and positive (e.g., 50 or 75).
Z_L – Load impedance ZL in ohms. May be complex.
- Returns:
The complex reflection coefficient Gamma.