Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 00d19610 authored by augustin_s's avatar augustin_s :snake:
Browse files

changed camera; added scantype 2

parent 6a12413d
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,8 @@ def camera_tag(daq):
cam1 = create_cam('SATES21-CAMS154-M1')
cam2 = create_cam('SATES24-CAMS161-M1')
cam1 = create_cam('SATES21-CAMS-PATT1')
#cam1 = create_cam('SARFE10-PSSS059')
cam1["scanPoints"]=[10,25,40,50,65,80]
cam2["scanPoints"]=[10,25,40,50,65,80]
......@@ -117,8 +118,9 @@ def camera_tag(daq):
mode = 0
n_shots = 2500
scantype=0 #0 2 camera scan
scantype=2 #0 two camera scan
#1 mode scan with 1 camera
#2 spot measurement
if scantype==0:
for i in cam1['scanPoints']:
......@@ -170,6 +172,11 @@ def camera_tag(daq):
time.sleep(5)
if scantype==2: #single point
fn = f"test_cam1_single_pt_"
daq.acquire(fn, n_pulses=n_shots)
#xs,xe,ys,ye=calcROI(cam1,2,20)
#print(xs, xe, ys, ye)
#print('Width ', xe-xs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment