skrf.networkSet.NetworkSet.uncertainty_ntwk_triplet
- NetworkSet.uncertainty_ntwk_triplet(attribute, n_deviations=3)[source]
Return a 3-tuple of Network objects which contain the mean, upper_bound, and lower_bound for the given Network attribute.
Used to save and plot uncertainty information data.
Note that providing ‘s’ and ‘s_mag’ as attributes will provide different results. For those who want to directly find uncertainty on dB performance, use ‘s_mag’.
- Parameters:
- Returns:
ntwk_mean (:class: ~skrf.network.Network) – Network of the averaged attribute
lower_bound (:class: ~skrf.network.Network) – Network of the lower bound of N*sigma deviation.
upper_bound (:class: ~skrf.network.Network) – Network of the upper bound of N*sigma deviation.
- Return type:
Example
>>> (ntwk_mean, ntwk_lb, ntwk_ub) = my_ntwk_set.uncertainty_ntwk_triplet('s') >>> (ntwk_mean, ntwk_lb, ntwk_ub) = my_ntwk_set.uncertainty_ntwk_triplet('s_mag')