skrf.media.rectangularWaveguide.RectangularWaveguide

class skrf.media.rectangularWaveguide.RectangularWaveguide(frequency=None, z0=None, a=1, b=None, mode_type='te', m=1, n=0, ep_r=1, mu_r=1, rho=None, roughness=None, *args, **kwargs)[source]

A single mode of a homogeneously filled rectangular waveguide

Parameters:
  • frequency (Frequency object) – frequency band of this transmission line medium
  • z0 (number, array-like, or None) – the port impedance for media. Only needed if its different from the characterisitc impedance of the transmission line. if z0 is None then will default to Z0
  • a (number) – width of waveguide, in meters.
  • b (number) – height of waveguide, in meters. If None defaults to a/2
  • mode_type (['te','tm']) – mode type, transverse electric (te) or transverse magnetic (tm) to-z. where z is direction of propagation
  • m (int) – mode index in ‘a’-direction
  • n (int) – mode index in ‘b’-direction
  • ep_r (number, array-like,) – filling material’s relative permittivity
  • mu_r (number, array-like) – filling material’s relative permeability
  • rho (number, array-like, string) – resistivity (ohm-m) of the conductor walls. If array-like must be same length as frequency. if str, it must be a key in skrf.data.materials.
  • roughness (number, or array-like) – surface roughness of the conductor walls in units of RMS deviation from surface
  • *args,**kwargs (arguments, keywrod arguments) – passed to Media’s constructor (__init__()

Examples

Most common usage is standard aspect ratio (2:1) dominant mode, TE10 mode of wr10 waveguide can be constructed by

>>> freq = rf.Frequency(75,110,101,'ghz')
>>> rf.RectangularWaveguide(freq,a= 100*mil)

Attributes

Z0 The characteristic impedance
alpha real (attenuation) component of gamma
alpha_c Loss due to finite conductivity and roughness of sidewalls
beta imaginary (propagating) component of gamma
ep The permativity of the filling material
f_cutoff cutoff frequency for this mode
f_norm frequency vector normalized to cutoff
gamma The propagation constant (aka Longitudinal wave number)
k0 Characteristic wave number
kc Cut-off wave number
kx Eigen value in the ‘a’ direction
ky Eigen-value in the b direction.
lambda_cutoff cuttoff wavelength
lambda_guide guide wavelength
mu The permeability of the filling material
npoints
rho conductivty of sidewalls in ohm*m
v_g Complex group velocity (in m/s)
v_p Complex phase velocity (in m/s)
z0

Methods

__init__ Initialize self.
attenuator Ideal matched attenuator of a given length
capacitor Capacitor
copy
delay_load Delayed load
delay_open Delayed open transmission line
delay_short Delayed Short
electrical_length calculates the electrical length for a given distance
extract_distance Determines physical distance from a transmission or reflection ntwk
from_Z0 Initialize from specfied impedance at a given frequency.
get_array_of
impedance_mismatch Two-port network for an impedance mismatch
inductor Inductor
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
splitter Ideal, lossless n-way splitter.
tee Ideal, lossless tee.
theta_2_d Converts 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.