gammapy.stats
gammapy.stats.
cov_to_corr
Compute correlation matrix from covariance matrix.
The correlation matrix c is related to the covariance matrix σ by:
covariance : ndarray
ndarray
Covariance matrix
correlation : ndarray
Correlation matrix