skrf.network.stdev

skrf.network.stdev(list_of_networks, attr='s')[source]

Calculate the standard deviation of a network attribute from a list of Networks.

This is the standard deviation for complex values of the s-parameters and other related attributes for a list of Networks.

Parameters:
  • list_of_networks (list of Network objects) – the list of networks to average

  • attr (str, optional) – name of attribute to average

Returns:

  • stdev_array (ndarray)

  • An array of standard deviation values computed after combining the s-parameter values of the given networks.

Return type:

ndarray

Examples

>>> ntwk_list = [rf.Network('myntwk.s1p'), rf.Network('myntwk2.s1p')]
>>> ntwk_stdev = rf.stdev(ntwk_list)