uW_S2P_deembedding - S2P measurements de-embedding .
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);