skrf.media.media.DefinedGammaZ0

class skrf.media.media.DefinedGammaZ0(frequency=None, z0_port=None, z0=50, Z0=None, gamma=1j)[source]

A media directly defined by its propagation constant and characteristic impedance.

Parameters:
  • frequency (Frequency object or None) – frequency band of this transmission line medium. Default is None, which produces a 1-10ghz band with 101 points.

  • z0_port (number, array-like, or None) – z0_port is the port impedance for networks generated by the media. If z0_port is not None, the networks generated by the media are renormalized (or in other words embedded) from the characteristic impedance Z0 of the media to z0_port. Else if z0_port is None, the networks port impedances will be the raw characteristic impedance Z0 of the media. (Default is None)

  • gamma (number or array-like, optional) –

    complex propagation constant. gamma must adhere to the following convention:

    • positive real(gamma) = attenuation

    • positive imag(gamma) = forward propagation

    Default is 1j (lossless).

  • z0 (number or array-like, optional.) – complex characteristic impedance of the media. Default is 50 ohm.

  • Z0 (number, array-like, or None) – deprecated parameter, only emmit a deprecation warning.

Attributes

Z0

Characteristic Impedance

alpha

Real (attenuation) component of gamma.

beta

Imaginary (propagating) component of gamma.

frequency

gamma

Propagation constant.

npoints

Number of points of the frequency axis.

v_g

Complex group velocity (in m/s).

v_p

Complex phase velocity (in m/s).

z0

Return Characteristic Impedance z0_characteristic.

z0_characteristic

Characteristic Impedance, \(z_0\).

z0_override

Port Impedance.

z0_port

Port Impedance.

Methods

__init__

attenuator

Ideal matched attenuator of a given length.

capacitor

Capacitor.

capacitor_q

Capacitor with Q factor.

copy

Copy of this Media object.

delay_load

Delayed load.

delay_open

Delayed open transmission line.

delay_short

Delayed Short.

electrical_length

Calculate the complex electrical length for a given distance.

extract_distance

Determines physical distance from a transmission or reflection Network.

from_csv

Create a Media from numerical values stored in a csv file.

get_array_of

impedance_mismatch

Two-port network for an impedance mismatch.

inductor

Inductor.

inductor_q

Inductor with Q factor.

isolator

Two-port isolator.

line

Transmission line of a given length and impedance.

load

Load of given reflection coefficient.

lossless_mismatch

Lossless, symmetric mismatch defined by its return loss.

match

Perfect matched load (\(\Gamma_0 = 0\)).

mode

Create another mode in this medium.

open

Open (\(\Gamma_0 = 1\)).

plot

random

Complex random network.

resistor

Resistor.

short

Short (\(\Gamma_0 = -1\))

shunt

Shunts a Network.

shunt_capacitor

Shunted capacitor.

shunt_delay_load

Shunted delayed load.

shunt_delay_open

Shunted delayed open.

shunt_delay_short

Shunted delayed short.

shunt_inductor

Shunted inductor.

shunt_resistor

Shunted resistor.

splitter

Ideal, lossless n-way splitter.

tee

Ideal, lossless tee.

theta_2_d

Convert electrical length to physical distance.

thru

Matched transmission line of length 0.

to_meters

Translate various units of distance into meters.

white_gaussian_polar

Complex zero-mean gaussian white-noise network.

write_csv

write this media's frequency, gamma, Z0, and z0 to a csv file.