Closedown
This commit is contained in:
@@ -47,8 +47,8 @@ else:
|
||||
if get_device("image_stats") is None:
|
||||
print "Instantiating camtool"
|
||||
add_device(CamTool("image_stats", prefix = "SINEG01-DSCR190:", latch = latch, camera = "SINEG01-DSCR190"), True)
|
||||
if (latch):
|
||||
image_stats.start()
|
||||
if (latch):
|
||||
image_stats.start()
|
||||
#add_device(ImageStats("image_stats", get_simulated_source(image)), True)
|
||||
|
||||
image_stats.setNumberOfImages(max(number_images,1))
|
||||
|
||||
@@ -47,8 +47,8 @@ else:
|
||||
if get_device("image_stats") is None:
|
||||
print "Instantiating camtool"
|
||||
add_device(CamTool("image_stats", prefix = "SINEG01-DSCR190:", latch = latch, camera = "SINEG01-DSCR190"), True)
|
||||
if (latch):
|
||||
image_stats.start()
|
||||
if (latch):
|
||||
image_stats.start()
|
||||
#add_device(ImageStats("image_stats", get_simulated_source(image)), True)
|
||||
|
||||
image_stats.setNumberOfImages(max(number_images,1))
|
||||
|
||||
+3
-3
@@ -212,10 +212,8 @@ finally:
|
||||
print ""
|
||||
|
||||
|
||||
|
||||
"""
|
||||
if __name__ == "__builtin__":
|
||||
camera_tool = CamTool("image_stats", prefix = "SINEG01-DSCR190:", latch = True, camera = "SINEG01-DSCR190")
|
||||
add_device(image_stats, True)
|
||||
#image_stats.enableBackground(False)
|
||||
image_stats.enableBackground(False)
|
||||
#image_stats.captureBackground(5)
|
||||
@@ -228,4 +226,6 @@ if __name__ == "__builtin__":
|
||||
#camera_tool.enableBackground(True)
|
||||
#camera_tool.capture()
|
||||
#print camera_tool.take(), camera_tool.com_x.read(), camera_tool.com_y.read()
|
||||
|
||||
|
||||
"""
|
||||
@@ -179,6 +179,10 @@ center_x.setPolling(100)
|
||||
center_y.setPolling(100)
|
||||
|
||||
|
||||
run("camtool")
|
||||
add_device(CamTool("image_stats", prefix = "SINEG01-DSCR190:", latch = latch, camera = "SINEG01-DSCR190"), True)
|
||||
|
||||
|
||||
#Convex hull plots
|
||||
def clear_convex_hull_plot(title):
|
||||
plots = get_plots(title = title)
|
||||
|
||||
Reference in New Issue
Block a user