getdist.covmat
- class getdist.covmat.CovMat(filename='', matrix=None, paramNames=None)[source]
Class holding a covariance matrix for some named parameters
- Variables:
matrix – the covariance matrix (square numpy array)
paramNames – list of parameter name strings
- Parameters:
filename – optionally, a file name to load from
- correlation()[source]
Get the correlation matrix
- Returns:
numpy array giving the correlation matrix