Script execution

This commit is contained in:
gac-x04sa
2018-10-30 10:30:21 +01:00
parent 643a2470de
commit 241b7b4b4e

View File

@@ -43,12 +43,10 @@ count_id = None
image_filename = None
def pix_is_on():
return pixel in scan.readables
def before_sample(position, scan):
def trigger_detectors(position, scan):
global count_time, count_id, image_filename
pix_is_on = self.pix_is_on(scan)
pix_is_on = pixel in scan.readables
mythen.abort()
open_shutter()
if (count_time != 0):