load_snp
load_snp(filename, conjugate=False)Load an S matrix from a Touchstone (snp) file.
Args
- filename (str): Touchstone file name to load.
- conjugate (bool): If set, conjugate the loaded data. Used for files in the
exp(+j omega t)time convention.
Returns
tuple[ndarray, ndarray]: Tuple with S matrix and frequency arrays
that can be used in DataModel.
See Also
SMatrix.load_snp to load data directly as an S matrix.