skrf.networkSet.NetworkSet.to_s_dict

NetworkSet.to_s_dict(*args, **kwargs)[source]

Converts a NetworkSet to a dictionary of s-parameters

The resultant keys of the dictionary are the names of the Networks in NetworkSet

Parameters:
  • ns (NetworkSet) – dictionary of s-parameters data. values of this should be numpy.ndarray assignable to skrf.network.Network.s
  • frequency (Frequency object) – frequency assigned to each network
  • **kwargs (*args,) – passed to Network.__init__ for each key/value pair of d
Returns:

s_dict – contains s-parameters in the form of complex numpy arrays

Return type:

dictionary