17 lines
385 B
Python
17 lines
385 B
Python
"""
|
|
Arguments:
|
|
|
|
MOTOR (device)
|
|
SENSORS (list)
|
|
RANGE (tuple (min, max))
|
|
STEPS (int or tuple)
|
|
LATENCY (double)
|
|
RELATIVE (BOOLEAN)
|
|
"""
|
|
|
|
def AfterReadout(rec):
|
|
append_diag_datasets()
|
|
|
|
set_preference(Preference.PLOT_TYPES,{'Integration':1});
|
|
create_diag_datasets()
|
|
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta, after_read = AfterReadout) |