Script execution
This commit is contained in:
@@ -33,7 +33,9 @@ print "Parameters: ", I1, I2, dI, settling_time, plot_image, number_images, use_
|
||||
|
||||
plot_name = datetime.datetime.fromtimestamp(time.time()).strftime('%H%M%S')
|
||||
|
||||
add_device(CamTool("image_stats", prefix = "cam:", latch = True, camera = "SINEG01-DSCR350"), True)
|
||||
if get_device("image_stats") is None:
|
||||
print "Instantiating camtool"
|
||||
add_device(CamTool("image_stats", prefix = "cam:", latch = True, camera = "SINEG01-DSCR350"), True)
|
||||
#add_device(ImageStats("image_stats", simulated_source), True)
|
||||
image_stats.setNumberOfImages(max(number_images,1))
|
||||
image_stats.enableBackground (use_background)
|
||||
|
||||
Reference in New Issue
Block a user