Closedown

This commit is contained in:
sfop
2017-03-24 10:34:48 +01:00
parent 732f618ec1
commit d7a04a1568
4 changed files with 17 additions and 12 deletions

View File

@@ -28,9 +28,12 @@ else:
centroid_excursion_plot = False
#from camtool import CamTool
run("camtool")
#run("camtool")
#from ImageStats import ImageStats, get_simulated_source
#from BpmStats import BpmStats
check_camtool()
camtool.start("SINEG01-DSCR190")
laser_was_on = is_laser_on()
@@ -45,12 +48,15 @@ if (use_bpm):
use_background = False
multiple_background = False
else:
camtool.start("SINEG01-DSCR190")
"""
latch = True
if get_device("image_stats") is None:
print "Instantiating camtool"
add_device(CamTool("image_stats", prefix = "SINEG01-DSCR190:", latch = True, camera = "SINEG01-DSCR190"), True)
if (image_stats.latch):
image_stats.start()
"""
#add_device(ImageStats("image_stats", get_simulated_source(image)), True)
image_stats.setNumberOfImages(max(number_images,1))