Files
sf-op/script/RFscan/SchottkyICT.py
2017-01-19 15:33:37 +01:00

10 lines
334 B
Python

import datetime
knob = Channel("SINEG01-RSYS:SET-BEAM-PHASE", 'd', alias = "RF phase")
instrument = Channel("SINEG01-DICT215:B1_CHARGE", 'd', alias = "Bunch Charge (ICT)")
r = lscan(knob, [instrument], 0, 360., 10.,2.0)
elog("SchottkyICT", "Data file: " + get_exec_pars().path + "\n\n" + r.print() , get_plot_snapshots())