qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec. print_cov  (  cov ,  normalize=False ,  decimals=2  )[source]

Print a covariance matrix "as is" or as color-coded Pearson correlation coefficients.

Parameters:
covarray_like

A covariance matrix.

normalizebool

Whether to normalize the covariance matrix to the Pearson correlation coefficients.

decimalsint

The number of decimal places to be printed.