Saturday, November 27, 2021

S-parameter conversion and visualization
S-parameters

It's a common practice for RF, microwave and high speed design engineers to pre-process and validate the scattering parameters (S-parameters) reciprocity, passivity and causality before proceed to use it. This notebook will walk through a sample implementation in python to show a simple way of S-parameter manipulation and plot to provide a quick examination through visual inspection. It will cover the following steps:

  • load a sample 4-port S-parameter file hosted on the Internet (load file through its URL)
  • single-ended S-parameter to mixed-mode conversion
  • Output magnitude in dB for specific measured frequency points of interest
  • Insertion loss plot for report and visual inspection quality check purposes




Saturday, July 17, 2021

PRBS13Q and pre-coded PAM4 test pattern generation

PRBS13Q Include contents generated by interactive python notebook in the Blogger post is more difficult than I had thought. Although there are so many suggested solutions out there on the web, it doesn't really work for me. Whether it's a hacking into the particular post template to include the Javascript, or customization of the CSS to display nbconvert created html simply doesn't apply as my Blogger account doesn't even have that "Template" or "Advanced CSS" feature enabled for some reason. Probably because it's a free version, thus only providing bare minimum capabilities? Anyway, after surfing the net for a while, I came out the following procedure through trial and error as a workaround:
  • Upload the ipynb file to gist and create the link as suggested by some of the proposed solutions.
  • Manual create a simple html file and embed the gist link in-between the <body></body>.
  • Create post in "html" instead of "component" view.
  • Preview and publish.
Here comes my first notebook post: not very satisfied, but readable.