eqdisco.analysis.knee_index#

eqdisco.analysis.knee_index(error, complexity, log_error=True)[source]#

Knee of a front: the point farthest below the line joining its two extremes.

Error (on a log scale by default) and complexity are scaled to \([0,1]\) first. For two or fewer points the most accurate one is returned.