Skip to content

andypfau/sparameterviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

651 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S-Parameter Viewer

A cross-platform S-parameter Viewer written in Python.

Main Features

  • Visualize touchstone and Citi files, including those inside of .zip-files.
  • Various flexible ways of displaying S-parameters, e.g. IL (all/reciprocal) only / RL only, linear/dB/Smith-chart/re-im, impulse/step response, Phase (normal/unwrapped), Group Delay.
  • Plotting of Python-based expressions, including functions for stability factors and stability circles, for adding passive elements, checking for passivity/reciprocity/losslessness.
    • to learn more about this feature see here.
  • Viewing data in various table formats (e.g. dB, linear, real/imaginary, phase).
  • Export data to .csv or .xlsx, copy data as Python code, save plots as images.

Documentation

See here.

Roadmap

Missing Features

  • GUI:
    • Add "color by command", where each "plot()" statement gets its own color assinged.
    • Find a way to present the large matrix in a bigger form, e.g. as a dialog.
    • For the documentations, find a nicer representation than plain markdown files.
  • Expressions:
    • Review the examples for the map() function, I think they do not work. Is the map() function really intuitive to use?
    • f_arg parameter for SParams.map().
    • Add more metadata to each SParams object, so I can track the origin (file, parameter, equstion) separately; then I could add a function to e.g. define the color by origin file.
    • Function to set plot type (i.e. when I run that equation, it automatically sets up the plot type).
  • Networks:
    • Mixed-mode S-parameter sample file (e.g. Touchstone 2.0 format).
    • Show correct parameter names of mixed-mode parameters in Networks.s(), and in the GUI.
  • General:
    • "TODO"-comments in code.
    • More unit tests.

Known Issues

  • The Smith chart is based on Scikit RF, and behaves a bit different from other plots, e.g. it will always display the grid, regardless of whether "Show Grid" is selected or not.

About

A cross-platform S-parameter Viewer written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages