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)