skrf.io.touchstone.hfss_touchstone_2_network

skrf.io.touchstone.hfss_touchstone_2_network(filename, f_unit='ghz')[source]

Creates a Network object from a a HFSS-style touchstone file

Parameters:
  • filename (string) – the HFSS-style touchstone file
  • f_unit (['hz','khz','mhz','ghz']) – passed to f_unit parameters of Frequency constructor
Returns:

my_network – the n-port network model

Return type:

skrf.Network object

Examples

>>> my_network = rf.hfss_touchstone_2_network('DUT.s2p')

See also

hfss_touchstone_2_gamma_z0()
returns gamma, and z0