test
This commit is contained in:
13
kate/gti.py
13
kate/gti.py
@@ -219,17 +219,4 @@ df = pd.DataFrame({'tstart': tstart_sec,'tstop': tstop_sec})
|
||||
df.to_csv('gti_sec.csv', index=False)
|
||||
|
||||
print("Files gti_dyear.csv and gti_sec.csv are created")
|
||||
#degrees = [6]
|
||||
#for i, degree in enumerate(degrees):
|
||||
# #print(degree)
|
||||
# coefficients = np.polyfit(tm_fit, rate_fit, degree)
|
||||
# print(coefficients)
|
||||
# poly_func = np.poly1d(coefficients)
|
||||
# y_fit = poly_func(tm_fit)
|
||||
|
||||
# #plt.subplot(2, 3, i+1)
|
||||
# #plt.scatter(tm, rate, alpha=0.5)
|
||||
# #plt.plot(tm_fit, y_fit, color=cl, linewidth=1, linestyle='solid', label=f'Degree {degree} fit')
|
||||
# #plt.legend()
|
||||
# #plt.title(f'Degree {degree} polynomial')
|
||||
|
||||
|
Reference in New Issue
Block a user