skrf.io.touchstone.Touchstone.get_sparameter_arrays

Touchstone.get_sparameter_arrays()[source]

Returns the s-parameters as a tuple of arrays.

The first element is the frequency vector (in Hz) and the s-parameters are a 3d numpy array. The values of the s-parameters are complex number.

Returns:

param

Return type:

tuple of arrays

Examples

>>> f, a = self.sgetparameter_arrays()
>>> s11 = a[:, 0, 0]