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_min
float
,optional
Minimum frequency to analyze in GHz (None to 0). Default value is
None
.- freq_max
float
,optional
Maximum frequency to analyze in GHz (None to max freq). Default value is
None
.- worst_is_higherbool
Worst curve is the one with higher mean value. Default value is
True
.- curve_list
list
List of [m,n] index of curves on which to search. None to search on all curves. Default value is
None
.- plotbool,
optional
Whether to plot or not the chart.
- freq_min
- Returns:
tuple
Worst element, dictionary of ordered expression.