Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.

nilearn.connectome.cov_to_corr#

nilearn.connectome.cov_to_corr(covariance)[source]#

Return correlation matrix for a given covariance matrix.

Parameters:
covariance2D numpy.ndarray

The input covariance matrix.

Returns:
correlation2D numpy.ndarray

The output correlation matrix.