get_worst_curve#

TouchstoneData.get_worst_curve(freq_min=None, freq_max=None, worst_is_higher=True, curve_list=None, plot=True)#

Analyze a solution data object with multiple curves and find the worst curve.

Take the mean of the magnitude over the frequency range.

Parameters:
freq_minfloat, optional

Minimum frequency to analyze in GHz (None to 0). The default value is None.

freq_maxfloat, optional

Maximum frequency to analyze in GHz (None to max freq). The default value is None.

worst_is_higherbool

Worst curve is the one with higher mean value. The default value is True.

curve_listlist

List of [m,n] index of curves on which to search. None to search on all curves. The default value is None.

plotbool, optional

Whether to plot or not the chart. The default value is True.

Returns:
tuple

Worst element, dictionary of ordered expression.