skrf.io.touchstone.Touchstone.__init__

Touchstone.__init__(file)[source]

constructor

Parameters:file (str or file-object) – touchstone file to load

Examples

From filename

>>> t = rf.Touchstone('network.s2p')

From file-object

>>> file = open('network.s2p')
>>> t = rf.Touchstone(file)