skrf.network.average

skrf.network.average(list_of_networks, polar=False)[source]

Calculates the average network from a list of Networks.

This is complex average of the s-parameters for a list of Networks.

Parameters:list_of_networks (list of Network objects) – the list of networks to average
Returns:ntwk – the resultant averaged Network
Return type:Network

Notes

This same function can be accomplished with properties of a NetworkSet class.

Examples

>>> ntwk_list = [rf.Network('myntwk.s1p'), rf.Network('myntwk2.s1p')]
>>> mean_ntwk = rf.average(ntwk_list)