Skip to main content

Crate touchstone

Crate touchstone 

Source
Expand description

§Touchstone

A Rust library for parsing, manipulating, and plotting Touchstone (.sNp) files containing S-parameter data for RF and microwave networks.

§Examples

use touchstone::Network;

let net = Network::new("files/ntwk1.s2p".to_string());
assert_eq!(net.rank, 2);

Modules§

cli
Command-line interface helpers for the touchstone binary.

Structs§

FrequencyDB
S-parameter data at a single frequency in Decibel/Angle format.
FrequencyMA
S-parameter data at a single frequency in Magnitude/Angle format.
FrequencyRI
S-parameter data at a single frequency in Real/Imaginary format.
Network
A network parsed from a Touchstone (.sNp) file.