23 lines
458 B
Python
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()
|