Public

Public Functions for Marconi

Index

Public Interface

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.

source

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.

source
Marconi.cascadeMethod.
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

source
Marconi.cascadeMethod.
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.

source
Marconi.cascadeMethod.
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

source
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.

source
Marconi.inputZMethod.
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.

source
Marconi.inputZMethod.
inputZ(Γ,Z0)

Calculates the input impedace from complex reflection coefficient Γ. Z0 is optional and defaults to 50.

source
interpolate(network,frequencies)

Returns a new network object that contains data from network reinterpolated to fit frequencies.

source
plotLStabCircle!(sc,network,freq)

Plots the the load stability circle on Smith Chart sc from network at frequency freq.

source
plotSStabCircle!(sc,network,freq)

Plots the the source stability circle on Smith Chart sc from network at frequency freq.

source
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

source
plotSmithData!(sc, network,(1,1))

Plots the S(1,1) parameter from network on an existing Smith Chart sc

Returns the sc object

source
plotSmithData(network,(1,1))

Plots the S(1,1) parameter from network on a Smith Chart.

Returns a PGFPlotsX.SmithChart object.

source
Marconi.plotVSWR!Method.
plotVSWR!(sc,VSWR)

Plots the circle that represents a VSWR of VSWR onto an existing Smith Chart.

source
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

source
Marconi.s2tMethod.
    s2t(s)

Converts S-Parameters s to T-Parameters.

source
Marconi.s2yMethod.
    s2y(s)

Converts S-Parameters s to Y-Parameters. Optionally include reference impedance with kwarg Z0 with s2z(s,Z0=50).

source
Marconi.s2zMethod.
    s2z(s)

Converts S-Parameters s to Z-Parameters. Optionally include reference impedance with kwarg Z0 with s2z(s,Z0=50).

source
Marconi.t2sMethod.
    t2s(t)

Converts T-Parameters t to S-Parameters.

source
Marconi.testDeltaMethod.
testDelta(network)

Returns a vector of Δ, the determinant of the scattering matrix. Optionally, returns Δ for S-Parameters at position pos.

source
Marconi.testKMethod.
testK(network)

Returns a vector of the magnitude of K, the Rollet stability factor.

source
Marconi.testMAGMethod.
testMAG(network)

Returns a vector of the maximum available gain of a network.

source
Marconi.testMSGMethod.
testMSG(network)

Returns a vector of the maximum stable gain of a network.

source
Marconi.testMUGMethod.
testMUG(network)

Returns a vector of the maximum unilateral gain of a network.

source
testMagDelta(network)

Returns a vector of Δ, the determinant of the scattering matrix. Optionally, returns |Δ| for S-Parameters at position pos.

source
writeTouchstone(network,filename)

Writes a Touchstone file from a Marconi network.

source
Marconi.y2sMethod.
    y2s(y)

Converts Y-Parameters y to S-Parameters. Optionally include reference impedance with kwarg Z0 with y2s(y,Z0=50).

source
Marconi.y2tMethod.
    y2t(y)

Converts Y-Parameters y to T-Parameters. Optionally include reference impedance with kwarg Z0 with y2s(y,Z0=50).

source
Marconi.y2zMethod.
    y2z(y)

Converts Y-Parameters y to Z-Parameters.

source
Marconi.z2sMethod.
    z2s(z)

Converts Z-Parameters z to S-Parameters. Optionally include reference impedance with kwarg Z0 with z2s(z,Z0=50).

source
Marconi.z2tMethod.
    z2t(z)

Converts Z-Parameters z to T-Parameters. Optionally include reference impedance with kwarg Z0 with z2s(z,Z0=50).

source
Marconi.z2yMethod.
    z2y(z)

Converts Z-Parameters z to Y-Parameters.

source
Marconi.ΓMethod.
Γ(Z,Z0)

Calculates the complex reflection coefficient Γ from impedance Z. Z0 is optional and defaults to 50.

source
Marconi.∠Method.
∠(mag,angle)

A nice compact way of representing phasors. Angle is in degrees.

source

Internal function to process touchstone lines

source