This commit is contained in:
gobbo_a
2017-06-13 14:30:43 +02:00
parent 975499b619
commit db22aa13b0
15 changed files with 158 additions and 170 deletions
+3 -1
View File
@@ -46,7 +46,8 @@ centroid_plot.addSeries(scan_series)
scan_series.setLinesVisible(False)
scan_series.setPointSize(4)
#Simulation
#Testing
"""
camera_name = "SLG-LCAM-C041"
def laser_on():
print "Laser On"
@@ -56,6 +57,7 @@ def switch_off_magnets(magnets = None):
pass
add_device(DummyPositioner("gun_solenoid"), True)
do_elog = False
"""
laser_was_on = is_laser_on()
original_gun_solenoid = gun_solenoid.read()
+3 -1
View File
@@ -46,6 +46,7 @@ centroid_plot.addSeries(scan_series)
scan_series.setLinesVisible(False)
scan_series.setPointSize(4)
"""
#Testing
camera_name = "SLG-LCAM-C041"
def laser_on():
@@ -56,7 +57,8 @@ def switch_off_magnets(magnets = None):
pass
add_device(DummyPositioner("gun_phase"), True)
do_elog = False
"""
laser_was_on = is_laser_on()
original_phase = gun_phase.read()
multiple_background = multiple_background and use_background