


""" 2 port elements in order from left to right, inputs at left """įor dev_i in cascadeList: T = TfromS( dev_i. impedance transmission linesĭef _init_( self, cascadeList, label = ''): """ (zero length) joint between different char. """propagation constant = beta, length = l""" det( T)],] ] ) # definition of T to match Agilent convention: (b1 a1)^T = T (a2 b2)^Tĭef _init_( self, beta, l, label = ''): mat( ], 1] ] ) # definition of T to match Agilent convention: (b1 a1)^T = T (a2 b2)^Tĭef SfromT( T): return ( 1 / T) * np. mat(, 1],] ] ) # definition of T to match Dicke convention: (b2 a2)^T = T (a1 b1)^Tĭef TfromS( S): return ( 1 / S) * np. mat( ], 1] ] ) # definition of T to match Dicke convention: (b2 a2)^T = T (a1 b1)^Tĭef SfromT( T): return ( 1 / T) * np. inv( I - S)ĭef TfromS( S): return ( 1 / S) * np. inv( Z + I)ĭef ZfromS( S): return ( I + S) * lg. # Convention used for T-matrix definitionĭef SfromZ( Z): return ( Z - I) * lg. SpeedOfLight = 29.97e3 # MHz cm, speed of light
Interactive smith chart free#
# Ohms, characteristic impedance of feedlineĮta0 = 376.730313461 # Ohms, impedance of free space widgets import Slider, Button, RadioButtons # v7: phase and amplitude sensitivity plotsįrom matplotlib. # v6: cleaned up code, parameters are general and swappable now, plotting and tuning is modular # v5: double launcher configuration, freed up 'a' as parameter # v4: S and T matrices to get at S12 phase, objectized circuit description. # Analytic formulae from Slater, / Microwave Transmission / # Interactive tuner for broadband coax-waveguide launcher Learn more about bidirectional Unicode characters To review, open the file in an editor that reveals hidden Unicode characters. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.
