From 641eec084611790e36c6743814e49e6bb0a9f2b7 Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 17 Nov 2022 21:56:58 +0100 Subject: [PATCH] chore: clarify what the print statements print --- p1/p1/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/p1/p1/main.py b/p1/p1/main.py index d64c13b..3068262 100644 --- a/p1/p1/main.py +++ b/p1/p1/main.py @@ -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')