Stripline
rfnetwork.elements.Stripline
- class rfnetwork.elements.Stripline(w, b, er, t=0.0013, df=0, loss=0, frequency=0, length=None, shunt=False)
Bases:
LineStripline with balanced substrate.
Parameters
- wfloat
width of stripline trace in inches
- bfloat
substrate thickness in inches (with line in the center).
- tfloat, optional
copper thickness in inches, defaults to 1oz copper (1.3 mils). Does not affect loss.
- dffloat | list, optional
Dissipation factor of substrate material, or dielectric loss tangent.
- lossfloat | list, optional
Total loss, (dielectric + conductor) losses, in dB per inch. Ignored if df is provided.
- frequencylist, optional
Array of frequencies in Hz for er, df, and loss if they are provided as lists.
- lengthfloat, optional
Length of line segment in inches.
- shuntbool, default: False
if True, port 2 is connected to ground and port 1 is transformed into a 2-port component that can be cascaded with other components.
Examples
>>> import rfnetwork as rfn >>> sl = rfn.elements.Stripline( ... w=0.008, ... b=0.010, ... er=3.0, ... loss=0.5, ... length=0.5 ... )
Evaluate s21 to get the loss of the line,
>>> s21 = sl.evaluate(10e9)["s"].sel(b=2, a=1) >>> rfn.conv.db20_lin(s21) ldarray([-0.32187157])...
Methods
Stripline.get_properties(frequency)Returns characteristic impedance and dielectric constant over frequency.
Attributes