diff --git a/script/local.py b/script/local.py index e466265..594dacd 100644 --- a/script/local.py +++ b/script/local.py @@ -18,7 +18,7 @@ def get_energy(): #Fitting -""" + from mathutils import estimate_peak_indexes, fit_gaussians, create_fit_point_list, Gaussian import java.awt.Color as Color @@ -59,7 +59,7 @@ def fit(ydata, xdata = None): return (None, None, None) #fit([1,2,3, 3,3,3,4,5,6,12,33,23,15,3,2,1, 1, 1, 1, 1]) -""" + def rock(axis = th1): """