From 44c451450a5a67d4bf937cfee7df7ec333247b99 Mon Sep 17 00:00:00 2001 From: sfop Date: Thu, 7 Jul 2016 14:54:00 +0200 Subject: [PATCH] Script execution --- script/local.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/local.py b/script/local.py index 09360df..25ddf29 100755 --- a/script/local.py +++ b/script/local.py @@ -95,7 +95,8 @@ def hfit(ydata, xdata = None): resolution = 0.01 fit_y = [] - for x in frange(start,end,resolution, True): + #for x in frange(start,end,resolution, True): + for x in xdata: fit_y.append(fitted_harmonic_function.value(x)) fit_x = frange(start, end+resolution, resolution)