Parse & summarize a Touchstone (.s1p / .s2p) file
parse_touchstoneRead Touchstone v1 S-parameter files and summarize port count, reference impedance, frequency range, S-parameters, VSWR, stability, and noise data for RF analysis.
Instructions
Read a Touchstone v1 S-parameter file (from a VNA, simulator or datasheet) and summarize it: port count, reference impedance, frequency range, per-frequency table (S11/S21/S12/S22 in dB and angle, VSWR, input impedance, and for 2-ports K, μ and MAG/MSG), resonance / best match for 1-ports, unconditionally stable ranges for 2-ports, and noise parameters if present. Supports MA/DB/RI formats and any frequency unit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language of the human-readable summary: 'en' (English) or 'tr' (Türkçe). Defaults to the server setting. | |
| max_rows | No | Maximum table rows to return (data is decimated evenly). | |
| touchstone_path | No | Absolute path to a Touchstone v1 file (.s1p / .s2p) on the server machine (local/stdio servers only; remote servers need touchstone_content). | |
| touchstone_content | No | Raw Touchstone v1 text (alternative to touchstone_path). |