Script execution
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user