def cdf(x, mean=0.0, stdev=1.0):
    return min(1.0, 0.5 * erfc((-x + mean) / (stdev * 2**0.5)))
Returns the cumulative distribution function at x.
dataset/ETHPy150Open clips/pattern/pattern/metrics.py/cdf