This commit is contained in:
gac-x09lb
2023-01-13 09:06:11 +01:00
parent 97b728afa2
commit 724aa2e180
4 changed files with 47 additions and 25 deletions
+22
View File
@@ -0,0 +1,22 @@
"""
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()