load_snp

photonforge.load_snp(filename)

Load an S matrix from a Touchstone (snp) file.

Parameters:

filename – Touchstone file name to load.

Returns:

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.