Extracts Z0 and Gamma comments from touchstone file
Takes a HFSS-style touchstone file with Gamma and Z0 comments and extracts a triplet of arrays being: (frequency, Gamma, Z0)
Parameters : | filename : string
|
---|---|
Returns : | f : numpy.ndarray
gamma : complex numpy.ndarray
z0 : numpy.ndarray
|
Examples
>>> f,gamm,z0 = rf.hfss_touchstone_2_gamma_z0('line.s2p')