Startup
This commit is contained in:
@@ -45,7 +45,8 @@ while(True):
|
||||
ax = frange(x1, x2, 1 if (x2==x1) else (x2-x1)/100, True)
|
||||
for x in ax:
|
||||
ay.append(fitted_polynomial_function.value(x))
|
||||
sfq.setData(ax, ay)
|
||||
plot_function(plot, function, name, range, color=Color.BLUE)
|
||||
#sfq.setData(ax, ay)
|
||||
|
||||
time.sleep(interval)
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import datetime
|
||||
|
||||
knob = Channel("SINEG01-RSYS:SET-BEAM-PHASE", 'd', alias = "RF phase")
|
||||
instrument = Channel("SINEG01-DICT215:CHARGE", 'd', alias = "Bunch Charge (ICT)")
|
||||
|
||||
r = lscan(knob, [instrument], -120., 60., 10.,2.0)
|
||||
|
||||
|
||||
elog("SchottkyICT", "Data file: " + get_context().path + "\n\n" + r.print() , get_plot_snapshots())
|
||||
Reference in New Issue
Block a user