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 (string) – ‘hz’, ‘khz’, ‘mhz’ or ‘ghz’, which is passed to the f_unit parameter to Frequency constructor

Returns

my_network – the n-port network model

Return type

Network object

Examples

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

See also

hfss_touchstone_2_gamma_z0

returns gamma, and z0