Files
dev/script/ManipulatorScan.py
2023-05-01 11:28:04 +02:00

23 lines
434 B
Python
Executable File

"""
Arguments:
MOTOR (device)
SENSORS (list)
RANGE (tuple (min, max))
STEPS (int or tuple)
LATENCY (double)
RELATIVE (BOOLEAN)
"""
if not get_exec_pars().args:
MOTOR = motor
SENSORS = (det.dataMatrix, scienta.spectrum, scienta.stats[0])
RANGE = (-5.0, 5.0)
STEPS = 20
LATENCY = 0.0
RELATIVE = False
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta)