skrf.network.Network.zipped_touchstone

classmethod Network.zipped_touchstone(filename, archive, encoding=None)[source]

Read a Network from a Touchstone file in a ziparchive.

Parameters:
  • filename (str) – the full path filename of the touchstone file

  • archive (zipfile.ZipFile) – the opened zip archive

  • encoding (str, optional) – File encoding. Supported encodings are ISO-8859-1 and UTF-8. If omitted, UTF-8 is attempted before ISO-8859-1.

Returns:

ntwk – Network from the Touchstone file

Return type:

Network