diff --git a/script/Alignment/Gun_solenoid_alignment.py b/script/Alignment/Gun_solenoid_alignment.py index 6c00117..1ca0739 100755 --- a/script/Alignment/Gun_solenoid_alignment.py +++ b/script/Alignment/Gun_solenoid_alignment.py @@ -32,7 +32,8 @@ 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("camtool") , True) -from ImageStats import * +#from ImageStats import * +run("ImageStats") add_device(ImageStats("camtool", simulated_source), True) camtool.setNumberOfImages(max(number_images,1)) camtool.enableBackground (use_background)