def _ecdf(x):
 nobs = len(x)
 return (np.arange(1, (nobs + 1)) / float(nobs))

def _ecdf ( x ) : nobs = len ( x ) return ( np . arange ( 1 , ( nobs + 1 ) ) / float ( nobs ) )
no frills empirical cdf used in fdrcorrection .