Files
x09lb/script/templates/Sampling.py
gac-x09lb 724aa2e180 Startup
2023-01-13 09:06:11 +01:00

23 lines
458 B
Python

"""
Arguments:
SAMPLES(int)
LATENCY (double)
RELATIVE (BOOLEAN)
"""
#Debugging
if get_exec_pars().args is None:
SENSORS = [ccd.dataMatrix]
SAMPLES = 1
LATENCY = 0.1
CUSTOM_PLOT_TYPES = {ccd.dataMatrix:"ch.psi.pshell.plot.MatrixPlotRenderer"}
try:
r = tscan(SENSORS, SAMPLES, LATENCY, before_read=before_readout, after_read=after_readout, \
compression=True, plot_types=CUSTOM_PLOT_TYPES)
finally:
after_scan()