uW_S2P_deembedding — S2P measurements de-embedding .
S_DUT=uW_S2P_deembedding(S_Total,Sin,Sout)
S2P Object (tlist) containing the complete chain S2P parameters.
S2P Object (tlist) containing the de-embedded S2P parameters. The S2P of the DUT.
tlist containing the S parameters (S2P : 2 ports) located between the input port and the DUT.
tlist containing the S parameters (S2P : 2 ports) located between the DUT and the output port.
This function de-embed a S2P data (S_Total) according to the input and output S2P blocks. The result is the de-embedded S2P data.
// A - Split the Test-fixture in two equal parts // A.1. Get the Thru line filename=tk_getfile("*.s2p"); S_thru=uW_S2P_read(filename); // A.2. Get the Opens filename=tk_getfile("*.s2p"); S_opens=uW_S2P_read(filename); // A.3. Split the test-fixture [Sin,Sout,Gamma_open]=uW_S2P_split(S_thru,S_opens); // B - Deembedding // B.1. Get the measurements filename=tk_getfile("*.s2p"); S_total=uW_S2P_read(filename); // B.2. De-embedding S_DUT=uW_S2P_deembedding(S_total,Sin,Sout); // B.3. Display the results uW_S2P_display(S_DUT);