skrf.network.Network.read_touchstone

Network.read_touchstone(filename, encoding=None)[source]

Load values from a touchstone file.

The work of this function is done through the touchstone class.

Parameters:
  • filename (str or file-object) – touchstone file name.

  • encoding (str, optional) – define the file encoding to use. Default value is None, meaning the encoding is guessed.

Return type:

None

Note

Only the scattering parameters format is supported at the moment.