get_worst_curve#
- TouchstoneData.get_worst_curve(freq_min: float = None, freq_max: float = None, worst_is_higher: bool = True, curve_list: list = None, plot: bool = True) tuple#
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). The default value is
None.- freq_max
float,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_list
list 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.
- freq_min
- Returns:
tupleWorst element, dictionary of ordered expression.