def acorrelation(X):
    C = acovariance(X)
    V = N.diagonal(C)
    return C / N.sqrt(N.multiply.outer(V,V))
Computes the correlation matrix of a matrix X.  Requires a 2D matrix input.
dataset/ETHPy150Open radlab/sparrow/src/main/python/third_party/stats.py/acorrelation