Files
sf-op/script/RFscan/SchottkyICT.py
2016-09-22 15:42:12 +02:00

10 lines
324 B
Python

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())