This commit is contained in:
2023-05-01 11:28:04 +02:00
parent 3a83f3cf34
commit abe3bcb19c
265 changed files with 28663 additions and 1295 deletions

View File

@@ -8,8 +8,8 @@ STEPS (int or tuple)
LATENCY (double)
RELATIVE (BOOLEAN)
"""
if get_exec_pars().source == CommandSource.ui:
if not get_exec_pars().args:
MOTOR = motor
SENSORS = (det.dataMatrix, scienta.spectrum, scienta.stats[0])
RANGE = (-5.0, 5.0)
@@ -17,6 +17,6 @@ if get_exec_pars().source == CommandSource.ui:
LATENCY = 0.0
RELATIVE = False
lscan(MOTOR, SENSORS, RANGE[0], RANGE[1], STEPS, LATENCY, RELATIVE, before_read=trig_scienta)