From ad0a761d534613bab49c5d73a60cd7c2f4fd3654 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Fri, 6 Mar 2020 12:18:42 -0600 Subject: [PATCH] more working --- data analysis/analysis/analysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data analysis/analysis/analysis.py b/data analysis/analysis/analysis.py index ec7d9419..4a915d32 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[~numpy.isnan(x)] - outputs = outputs[~numpy.isnan(x)] + inputs = inputs[~np.isnan(x)] + outputs = outputs[~np.isnan(x)] regressions = [] if 'lin' in args: # formula: ax + b