impedance_conversion: Impedance Conversion

impedance_conversionR Documentation

Impedance Conversion

Description

Conversion between the reflection coefficient (gamma), S11, impedance, and mismatch gain:

Usage

gamma_to_mismatch(...)

gamma_to_s11(...)

gamma_to_z(..., z0 = 50)

mismatch_to_gamma(...)

s11_to_gamma(...)

z_to_gamma(..., z0 = 50)

mismatch_to_s11(...)

s11_to_mismatch(...)

z_to_s11(..., z0 = 50)

z_to_mismatch(..., z0 = 50)

Arguments

...

Input reflection coefficient, return gain, impedance, or mismatch gain

z0

Characteristic impedance

Details

Fundamental conversions:

gamma_to_mismatch()

Converts the input reflection coefficient to mismatch gain.

gamma_to_s11()

Converts the input reflection coefficient to return gain.

gamma_to_z()

Converts the input reflection coefficient to impedance. If the input is a complex number, complex impedance will be output, and if the input is a scalar or magnitude, only a scalar impedance is output.

mismatch_to_gamma()

Converts the input mismatch gain to the reflection coefficient (magnitude only).

s11_to_gamma()

Converts the input return gain to the reflection coefficient (magnitude only).

z_to_gamma()

Converts the input impedance to the reflection coefficient. If the input is a complex number, the complex reflection coefficient will be output, and if the input is a scalar or magnitude, only the reflection coefficient magnitude will be output.

Additional conversions:

mismatch_to_s11()

Converts the input mismatch gain to return gain.

s11_to_mismatch()

Converts the input return gain to mismatch gain.

z_to_s11()

Converts the input impedance to return gain.

z_to_mismatch()

Converts the input impedance to mismatch gain.

Examples

# S11 --> reflection coefficient
s11_to_gamma(-3)

# Reflection coefficient --> S11
gamma_to_s11(0.5)

# Reflection coefficient --> impedance
gamma_to_z(0.5 + 0.5i, z0 = 50)

aaronmanderson3/rftk documentation built on July 30, 2023, 1:19 p.m.