From 169b166b18ed4d8d9e5d5e7acda5d14fdb5ca0ee Mon Sep 17 00:00:00 2001 From: sfop Date: Thu, 7 Jul 2016 14:56:06 +0200 Subject: [PATCH] Script execution --- script/local.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/script/local.py b/script/local.py index 25ddf29..1eb1383 100755 --- a/script/local.py +++ b/script/local.py @@ -93,10 +93,9 @@ def hfit(ydata, xdata = None): f = angular_frequency/ (2* math.pi) print "frequency = ", f - resolution = 0.01 + resolution = 1.00 fit_y = [] - #for x in frange(start,end,resolution, True): - for x in xdata: + for x in frange(start,end,resolution, True): fit_y.append(fitted_harmonic_function.value(x)) fit_x = frange(start, end+resolution, resolution)