def _ecdf(x):
    '''no frills empirical cdf used in fdrcorrection
    '''
    nobs = len(x)
    return np.arange(1, nobs + 1) / float(nobs)
dataset/ETHPy150Open mne-tools/mne-python/mne/stats/multi_comp.py/_ecdf/original