Public Functions for Marconi
Index
Marconi.DataNetworkMarconi.EquationNetworkMarconi.cascadeMarconi.cascadeMarconi.cascadeMarconi.equationToDataNetworkMarconi.inputZMarconi.inputZMarconi.interpolateMarconi.plotLStabCircle!Marconi.plotSStabCircle!Marconi.plotSmithCircle!Marconi.plotSmithDataMarconi.plotSmithData!Marconi.plotVSWR!Marconi.processTouchstoneLineMarconi.readTouchstoneMarconi.s2tMarconi.s2yMarconi.s2zMarconi.t2sMarconi.testDeltaMarconi.testKMarconi.testMAGMarconi.testMSGMarconi.testMUGMarconi.testMagDeltaMarconi.writeTouchstoneMarconi.y2sMarconi.y2tMarconi.y2zMarconi.z2sMarconi.z2tMarconi.z2yMarconi.ΓMarconi.∠
Public Interface
Marconi.DataNetwork — Type.The base Network type for representing n-port linear networks with characteristic impedance Z0. By default, the network is stored as S-Parameters with the corresponding frequency list.
Marconi.EquationNetwork — Type.The base Network type for representing n-port linear networks with characteristic impedance Z0. The S-Parameters for an EquationNetwork are defined by a function that returns a ports-square matrix and accepts kwargs Z0 and freq. Please provide default arguments for any input parameters.
Marconi.cascade — Method.cascade(net1,net2,net3,...,netN)Returns a new DataNetwork that is the cascaded result of net1,net2,net3,...netN where the nets are a mixture of 2-Port DataNetwork objects and 2-Port EquaionNetwork object. Optionally takes kwarg numpoints for how many points in the result.
See the docs for details of dealing with equation-driven networks
Marconi.cascade — Method.cascade(net1,net2,net3,...,netN)Returns a new DataNetwork that is the cascaded result of net1,net2,net3,...netN where the nets are 2-Port DataNetwork objects. Optionally takes kwarg numpoints for how many points in the result.
Marconi.cascade — Method.cascade(net1,net2,net3,...,netN)Returns a new EquationNetwork that is the cascaded result of net1,net2,net3,...netN where the nets are 2-Port EquationNetwork objects.
See the docs for details of dealing with equation-driven networks
Marconi.equationToDataNetwork — Method.equationToDataNetwork(equationNet,args=(arg1,arg2),freqs=[1,2,3])Utility function to convert an equation network to a data network by evaluating it at every frequency in the list or range freqs.
Marconi.inputZ — Method.inputZ(Zr,Θ,Z0)Calculates the input impedace of a lossless transmission line of length θ in degrees terminated with Zr. Z0 is optional and defaults to 50.
Marconi.inputZ — Method.inputZ(Γ,Z0)Calculates the input impedace from complex reflection coefficient Γ. Z0 is optional and defaults to 50.
Marconi.interpolate — Method.interpolate(network,frequencies)Returns a new network object that contains data from network reinterpolated to fit frequencies.
Marconi.plotLStabCircle! — Method.plotLStabCircle!(sc,network,freq)Plots the the load stability circle on Smith Chart sc from network at frequency freq.
Marconi.plotSStabCircle! — Method.plotSStabCircle!(sc,network,freq)Plots the the source stability circle on Smith Chart sc from network at frequency freq.
Marconi.plotSmithCircle! — Method.plotSmithCircle!(sc, xc, yc, rad)Plots a cricle with center coordinates (xc,yc) on the $\Gamma$ plane with radius rad on an existing Smith Chart object.
Returns the sc object
Marconi.plotSmithData! — Method.plotSmithData!(sc, network,(1,1))Plots the S(1,1) parameter from network on an existing Smith Chart sc
Returns the sc object
Marconi.plotSmithData — Method.plotSmithData(network,(1,1))Plots the S(1,1) parameter from network on a Smith Chart.
Returns a PGFPlotsX.SmithChart object.
Marconi.plotVSWR! — Method.plotVSWR!(sc,VSWR)Plots the circle that represents a VSWR of VSWR onto an existing Smith Chart.
Marconi.readTouchstone — Method.readTouchstone("myFile.sNp")Reads the contents of myFile.sNp into a Network object. This will convert all file types to S-Parameters, Real/Imaginary
Currently does not support reference lines (Different port impedances) or noise parameters
Marconi.s2t — Method. s2t(s)Converts S-Parameters s to T-Parameters.
Marconi.s2y — Method. s2y(s)Converts S-Parameters s to Y-Parameters. Optionally include reference impedance with kwarg Z0 with s2z(s,Z0=50).
Marconi.s2z — Method. s2z(s)Converts S-Parameters s to Z-Parameters. Optionally include reference impedance with kwarg Z0 with s2z(s,Z0=50).
Marconi.t2s — Method. t2s(t)Converts T-Parameters t to S-Parameters.
Marconi.testDelta — Method.testDelta(network)Returns a vector of Δ, the determinant of the scattering matrix. Optionally, returns Δ for S-Parameters at position pos.
Marconi.testK — Method.testK(network)Returns a vector of the magnitude of K, the Rollet stability factor.
Marconi.testMAG — Method.testMAG(network)Returns a vector of the maximum available gain of a network.
Marconi.testMSG — Method.testMSG(network)Returns a vector of the maximum stable gain of a network.
Marconi.testMUG — Method.testMUG(network)Returns a vector of the maximum unilateral gain of a network.
Marconi.testMagDelta — Method.testMagDelta(network)Returns a vector of Δ, the determinant of the scattering matrix. Optionally, returns |Δ| for S-Parameters at position pos.
Marconi.writeTouchstone — Method.writeTouchstone(network,filename)Writes a Touchstone file from a Marconi network.
Marconi.y2s — Method. y2s(y)Converts Y-Parameters y to S-Parameters. Optionally include reference impedance with kwarg Z0 with y2s(y,Z0=50).
Marconi.y2t — Method. y2t(y)Converts Y-Parameters y to T-Parameters. Optionally include reference impedance with kwarg Z0 with y2s(y,Z0=50).
Marconi.y2z — Method. y2z(y)Converts Y-Parameters y to Z-Parameters.
Marconi.z2s — Method. z2s(z)Converts Z-Parameters z to S-Parameters. Optionally include reference impedance with kwarg Z0 with z2s(z,Z0=50).
Marconi.z2t — Method. z2t(z)Converts Z-Parameters z to T-Parameters. Optionally include reference impedance with kwarg Z0 with z2s(z,Z0=50).
Marconi.z2y — Method. z2y(z)Converts Z-Parameters z to Y-Parameters.
Marconi.Γ — Method.Γ(Z,Z0)Calculates the complex reflection coefficient Γ from impedance Z. Z0 is optional and defaults to 50.
Marconi.∠ — Method.∠(mag,angle)A nice compact way of representing phasors. Angle is in degrees.
Marconi.processTouchstoneLine — Method.Internal function to process touchstone lines