skrf.io.touchstone.read_zipped_touchstones

skrf.io.touchstone.read_zipped_touchstones(ziparchive, dir='')[source]

similar to skrf.io.read_all_networks, which works for directories but only for Touchstones in ziparchives.

Parameters
  • ziparchive (zipfile.ZipFile) – an zip archive file, containing Touchstone files and open for reading

  • dir (str) – the directory of the ziparchive to read networks from, default is “” which reads only the root directory

Returns

keys are touchstone filenames without extensions values are network objects created from the touchstone files

Return type

dict