edges_io.io.S1P.read#

classmethod S1P.read(path_filename: str | Path, all_cols: bool = True) tuple[ndarray, ndarray][source]#

Read the .s1p or .s2p formatted files.

Parameters:
  • path_filename – The path to the file.

  • all_cols – If the file is .s2p, it may have more than just S11, also S12, S21, S22. If so, setting all_cols=True returns all the S-parameters.