#NEWLINE# def autocorr( x , **kwargs ) : #NEWLINE# #INDENT# 'Returns the autocorrelation of signal s at all lags.\n\n    Parameters\n    ----------\n\n    x : ndarray\n    axis : time axis\n    all_lags : {True/False}\n       whether to return all nonzero lags, or to clip the length of r_xy\n       to be the length of x and y. If False, then the zero lag correlation\n       is at index 0. Otherwise, it is found at (len(x) + len(y) - 1)/2\n\n    Notes\n    -----\n\n    Adheres to the definition\n\n    .. math::\n\n    R_{xx}[k]=E\\{X[n+k]X^{*}[n]\\}\n\n    where X is a discrete, stationary (ergodic) random process\n\n    ' #NEWLINE# kwargs [ 'debias' ] = False #NEWLINE# return autocov ( kwargs , ** kwargs )