Startup
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user