note: frequency and tline classes are copied, so they are passed by value and not by-reference.
creates a Network for a delayed load transmission line
Gamma0: reflection coefficient of load (not in dB) d: the length (see unit argument) [number] unit: string specifying the units of d. possible options are
‘m’: meters, physical length in meters (default) ‘deg’:degrees, electrical length in degrees ‘rad’:radians, electrical length in radians
note: this just calls, self.line(d,**kwargs) ** self.load(Gamma0, **kwargs)
creates a Network for a delayed open transmission line
d: the length (see unit argument) [number] unit: string specifying the units of d. possible options are
‘m’: meters, physical length in meters (default) ‘deg’:degrees, electrical length in degrees ‘rad’:radians, electrical length in radians
note: this just calls, self.line(d,**kwargs) ** self.open(**kwargs)
creates a Network for a delayed short transmission line
d: the length (see unit argument) [number] unit: string specifying the units of d. possible options are
‘m’: meters, physical length in meters (default) ‘deg’:degrees, electrical length in degrees ‘rad’:radians, electrical length in radians
note: this just calls, self.line(d,**kwargs) ** self.short(**kwargs)
guess length of physical length of a Delay Short given by aNtwk
returns a two-port network for a impedance mis-match
creates a Network for a section of matched transmission line
d: the length (see unit argument) [number] unit: string specifying the units of d. possible options are
‘m’: meters, physical length in meters (default) ‘deg’:degrees, electrical length in degrees ‘rad’:radians, electrical length in radians
propagation_constant(f,d), where f is frequency in Hz and d is distance in meters. so you can use any class which provides this and it will work .
creates a Network for a Load termianting a transmission line
Gamma0: reflection coefficient of load (not in db) nports: number of ports. creates a short on all ports,
default is 1 [int]
creates a Network for a perfect matched transmission line (Gamma0=0)
creates a Network for a ‘open’ transmission line (Gamma0=1)
creates a Network for a short transmission line (Gamma0=-1)
returns an ideal, lossless n-way splitter.
nports: number of ports [int] **kwargs: key word arguments passed to match(), which is
called initially to create a ‘blank’ network.
makes a ideal, lossless tee. (aka three port splitter)
converts electrical length to physical distance
is provided by transmissionLine.functions.py
creates a Network for a thru
generates a two-port reflective (S21=S12=0) network,from the responses of 2 one-port networks
creates a complex zero-mean gaussian white-noise signal of given standard deviations for phase and magnitude