This commit is contained in:
voulot_d
2017-08-15 15:16:36 +02:00
parent 77efdf64fe
commit 86e9a78611
-1
View File
@@ -71,7 +71,6 @@ try:
(fit_amplitude, fit_phase_deg, fit_offset, ph_crest, fit_x, fit_y) = hfitoff(energy , rf_phase)
except:
raise Exception("Fit failure")
#plt = plot([energy, fit_y], ["data", "fit"], [rf_phase, fit_x])[0]
plt = plot(None,name="data")[0]
plt.getSeries(0).setData(to_array(rf_phase,'d'), to_array(energy,'d'))
plt.getSeries(0).setPointSize(8)