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)