Closedown

This commit is contained in:
sfop
2016-08-31 17:19:16 +02:00
parent 1b1a5b02b8
commit 1cf200dab1
6 changed files with 16 additions and 12 deletions

View File

@@ -22,4 +22,4 @@ gsx=ch.psi.pshell.epics.Positioner|SINEG01-MSOL130:X_SP SINEG01-MSOL130:X|||true
gsy=ch.psi.pshell.epics.Positioner|SINEG01-MSOL130:Y_SP SINEG01-MSOL130:Y|||true
gsrx=ch.psi.pshell.epics.Positioner|SINEG01-MSOL130:ROT_X_SP SINEG01-MSOL130:ROT_X|||true
gsry=ch.psi.pshell.epics.Positioner|SINEG01-MSOL130:ROT_Y_SP SINEG01-MSOL130:ROT_Y|||true
camtool=Camtool|SINEG01-DSCR190||-500|
#camtool=Camtool|SINEG01-DSCR190||-500|

View File

@@ -1,8 +1,8 @@
#Wed Aug 31 17:09:01 CEST 2016
colormap=Grayscale
#Wed Aug 31 17:12:46 CEST 2016
colormap=Temperature
colormapAutomatic=false
colormapMax=484.051
colormapMin=0.0
colormapMax=578.797
colormapMin=99.793
flipHorizontally=false
flipVertically=false
grayscale=false

View File

@@ -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))

View File

@@ -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))

View File

@@ -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()
"""

View File

@@ -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)