Skip to content

arsenovic/tnt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tnt: [t]ouchstone [n]etworks in [t]erminals

A vibe-coded terminal app to visualize touchstone files using scikit-rf, textualize, and textual_plotext. Plots are shown directly in the terminal, not with matplotlib.

demo

Install+Run

pip install .
tnt [touchstone_file.s2p] # without a file it will load up ole' ring_slot 

Features

  • Load any touchstone file, or use the example skrf.data.ring_slot if no file is provided
  • S-parameter traces are color coded
  • Interactive keyboard controls:
    • Change plot mode: [l]inear, [p]hase, [d]B, [s]mith chart
    • Cycle marker style: [m]
    • S-parameter selection: [a]ll, [o]ne, [r]eflects, [t]ransmits
    • Toggle grid: [g]
    • Adjust y-axis scale: [↑]/[↓]
    • Shift y-axis: [Shift+↑]/[Shift+↓]
    • Adjust x-axis scale: [→]/[←]
    • Shift x-axis: [Shift+→]/[Shift+←]
    • Cycle S-parameters (when [o]ne selected): [PageUp]/[PageDown]
    • Open file browser: [O]
    • Quit: [q]
    • Controls are displayed in the footer

Toolchain

About

A terminal app to visualize touchstone files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages