Plot showing an individual high pass filter cascaded with an individual low pass filter without negating the bypass lanes.
Plot showing the negation feature being used to de-embed the bypass response from both the high pass filter and low pass filter response.
This project assumes that you have Python installed as well as the libraries pyawr and pywin32. For more information on how to install Python, see this link for the default python installation instructions and link for Anaconda/Miniconda instructions.
This project assumes that you have the project file and the s-parameters contained here: AWR_Negate_ADMV8818.zip. The s2p files need to be put in a local directory and then the script needs to be modified to target the folders hpf, lpf and destination folders. The portion of the code that needs to be modified is shown below. Note you need to add a second backslash in the python string as shown. If you are using a version of Microwave Office that is not version 16, you also need to set it to the appropriate version.
###Initialize AWR### awr = mwo.CMWOffice(version='16.0') ###Set folder location of 128 s2p files and the target destination### hpf_location = 'C:\\..\\hpf\\' #This needs to be set to your local directory location lpf_location = 'C:\\...\\lpf\\' #This needs to be set to your local directory location destination = 'C:\\...\\target_s2p\\' #This needs to be set to your local directory location
Using the Script
Once you set the hpf, lpf, and target destination folders, open the AWR project s2p_ADMV8818_negate.emp, run the script, and you should now have all 4096 reconstructed .s2p files in the destination folder target_s2p.