uW_AMCAD_CST_deembedding — Load-pull measurement de-embedding .
uW_AMCAD_CST_deembedding(filename1,filename2,Sin,Sout)
String parameter : filename of the input CST file (IV-CAD load-pull file format before de-embedding) including the path.
String parameter : filename of the output CST file (IV-CAD load-pull file format after de-embedding) including the path.
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 read a CST file and de-embed each RF measured wave according the two S2P file located before and after the DUT.
// Split the Test-fixture in two equal parts // 1. Get the Thru line filename=tk_getfile("*.s2p"); S_thru=uW_S2P_read(filename); // 2. Get the Opens filename=tk_getfile("*.s2p"); S_opens=uW_S2P_read(filename); // 3. Split the test-fixture [Sin,Sout,Gamma_open]=uW_S2P_split(S_thru,S_opens); // Display the results xset("window",100); xname("Open @ DUT ref. plane"); uW_S2P_display(Gamma_open); xset("window",101); xname("Input,Output and Total Thru S parameters"); uW_S2P_display(Sin,Sout,S_thru); // 4. LOAD-PULL De-embedding // The function remove the effect of Sin (S2P with port 1 is the input of the test-fixture and port 2 is the input of the DUT) // and Sout (S2P : port 1 is the output of the DUT and port 2 is the output of the test-fixture). // Then, it generate a new IV-CAD file. filename1=tk_getfile("*.cst"); // File to read (before de-embedding) filename2=tk_getfile("*.cst"); // File to write (after de-embedding) uW_AMCAD_CST_deembedding(filename1,filename2,Sin,Sout);