touchstone 0.8.5

Touchstone (s2p, etc.) file parser, plotter, and more
Documentation

touchstone

Touchstone (S2P) parser for RF Engineering

Installation

cargo install touchstone

This installs an executable in your .cargo/bin directory (.cargo/bin/touchstone).

Usage

touchstone files/ntwk3.s2p

which outputs:

============================
In file files/ntwk3.s2p
'files/ntwk3.s2p' is a Relative path with separators (nested).
Plot HTML generated at files/ntwk3.s2p.html
You can open the plot in your browser at:
file:///Users/iancleary/touchstone/files/ntwk3.s2p.html
Attempting to open plot in your default browser...
Success! Opening: file:///Users/iancleary/touchstone/files/ntwk3.s2p.html

This works on Windows, MacOS, and Linux file systems!

  • MacOS: file:///Users/iancleary/touchstone/files/ntwk3.s2p.html
  • Windows: file:///C:/Users/iancleary/touchstone/files/ntwk3.s2p.html
  • Linux: file:///home/iancleary/touchstone/files/ntwk3.s2p.html

This command created an html file that is interactive, and designed to not have any network dependence.

HTML file created for ntwk3.s2p by running touchstone files/ntwk3.s2p in the root of this directory

You can view the HTML source file itself here directly: examples/ntwk3.s2p.html.

Note that the crate's execution templates in the data parsed from the touchstone file's network object. So this example will only match for the files/ntwk3.s2p data.

References