From 46d1a48999c395fa7f68e23e6624331b1f068068 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Fri, 6 Mar 2020 12:21:17 -0600 Subject: [PATCH] even more working --- .../__pycache__/analysis.cpython-37.pyc | Bin 26671 -> 26717 bytes data analysis/analysis/analysis.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data analysis/analysis/__pycache__/analysis.cpython-37.pyc b/data analysis/analysis/__pycache__/analysis.cpython-37.pyc index 44a770c4e2ed53dfa188d7f095457777925f4a6f..ab9a7c01e220b38919996687c9d3e81ba2f539cd 100644 GIT binary patch delta 5296 zcmbVQ3wV>&8U9bwq-mO@g_f4q7J30Rr67ft7P$xo3J8SKRv2kZ2u)g2a`PmGmL;?k zVNOL^Kc)<(YrPH8$*|kJY);(V)QzE{vMpYjI&@ADr?}_Yo^9tne{c5UEq(g_=X~e8 zyx(^&|4EKM&t7|;S<203qar^0_ix@<6gXyyYT{-&^Cr?Qn#_V(R~U18Khts=J>IaJ zyInbcr$3a_$OFC{?r!4lP{jSZ|*-DN(J9MKoLW{9xNvVoU?wXq;>bt*FkW zacQqpqWZA5Ij&0=(MRGUx^8WqCK?|#M6_M{NPJg(x6)rkgQkz2eV{Q^E;b zjr;&pq6v&{wWiS{mzh?N|6WZFW;>U*|LFJtT(I(qqOc8d1QSTMF$=qu>>=oYf~=%HD5<|T7+X1)(PqiQ#b(GTd2;t8~+c=_dC==ud% zwfyt#nuO8?VON~I6*dUU;fps>uyni*+y52UY zu=yQ6XPA3hzmUf@!tCEPy)>U5on0(4J~ul%aS(IbIXj*GPmGr)N}f>XTu{tnpU~dY zElf)nOY50|YRc-(W--m`RBL%5Z7M6G^JO_~EG5s`$kHhwFpEyk$zfOboSzfNn2kQZ zVhU@cw7Dh5n0~99``updA^Y4MmP_B9dwp6|1dCZb;)D|u?Q#SI+ufXZP{zEHdEW+) z>jB>Z+yH<&zY)*@*bNx62+Tq@m2Q}KgmqBKeE)PCbgly=3b2~_4DpERz0S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84#iXXW>Dx`W(l?4@dpjFp; z%0vkr^qgpY8zg@QyhHDM@*4jM@pS<9MZ(f0!~6vj?U8Cj{0S3kuc)o@E{3X&=!QfE zC8{E^ELAss6`$zmW*%z~QnzF!134MV}hztjbs!=pOw0LHavf+(0jiy~knqKnuxKGI&=c`TWIA*nn(TYf)SjA> RYNDgQQaa|#pp*{Re*tfZ*e?J8 diff --git a/data analysis/analysis/analysis.py b/data analysis/analysis/analysis.py index 4a915d32..4d077276 100644 --- a/data analysis/analysis/analysis.py +++ b/data analysis/analysis/analysis.py @@ -348,8 +348,8 @@ def histo_analysis(hist_data): def regression(inputs, outputs, args): # inputs, outputs expects N-D array - inputs = inputs[~np.isnan(x)] - outputs = outputs[~np.isnan(x)] + inputs = inputs[~np.isnan(inputs)] + outputs = outputs[~np.isnan(outputs)] regressions = [] if 'lin' in args: # formula: ax + b