chore: clarify what the print statements print

This commit is contained in:
surtur 2022-11-17 21:56:58 +01:00
parent a012342c1d
commit 641eec0846
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

View File

@ -53,9 +53,9 @@ def main(argv):
# correlation coefficient
correl_c = f.correl_coeff(cov, std_dev_u, std_dev_y)
print("data covariance:\n", d.cov())
# print the matrix.
print("covariance matrix (built-in):\n", d.cov())
# print the covariance matrix.
print("covariance matrix (own):\n")
print(np.array([[variance_u, cov], [cov, variance_y]]))
f.plot_autocorellation(dat=d['u'], fname='u_autocorellation')