Script execution

This commit is contained in:
gac-x03da
2018-10-03 03:13:27 +02:00
parent af304af679
commit fe0a125a30

View File

@@ -12,7 +12,7 @@ MOTORS = [Eph]
POSITIONS_1 = [550]
#for nn in range(0):
# POSITIONS_1.append(POSITIONS_1[-1]+4)
REGION_1 = {'name': 'N 1s', 'elo': 140., 'ehi': 153., 'estep': 0.05, 'epass': 50, 'tstep': 0.5, 'iter': 1, 'cis': True}
REGION_1 = {'name': 'N 1s', 'elo': 140., 'ehi': 153., 'estep': 0.05, 'epass': 20, 'tstep': 0.5, 'iter': 1, 'cis': True}
REGIONS_1 = [REGION_1]
@@ -189,13 +189,13 @@ try:
setup_live_plots(REGIONS_B)
task = fork(update_live_plots)
# theta (polar), phi (azimuth), x, y, z
#sample_pos = [#[-9.1,-105.0,0.5, 0.0, 115.0],
#[21.0,-105.0,0.8, 0.1, 115.0],
#[51.0,-105.0,0.45, 1.4, 115.0]]
#[21.0,-75.0, 0.8, 0.1, 115.0],
#[51.0,-75.0, 0.45, 1.4, 115.0],
#[-9.1,-75.0,0.5, 0.0, 115.0]]
sample_pos = [[-9.1,-90.0,0.5,-0.5,117.0]]
sample_pos = [[-9.1,-90.0,0.5, -0.4, 114.0],
[-9.1,-90.0,0.5, -0.2, 114.0],
[-9.1,-90.0,0.5, 0.0, 114.0],
[-9.1,-90.0,0.5, 0.2, 114.0],
[-9.1,-90.0,0.5, 0.4, 114.0]]
#[-9.1,-90.0,0.5, 0.0, 114.0]]
#sample_pos = [[-9.1,-90.0,0.5,-0.5,117.0]]
for nn in sample_pos:
polar = nn[0]
azimuth = nn[1]
@@ -206,8 +206,8 @@ try:
#ManipulatorPhi.move(nn[1])
#do_scan(MOTORS, POSITIONB, REGIONSB, LATENCY) #XPS before PhD
for bb in range(6):
do_scan(MOTORS, POSITIONS_1, REGIONS_1, LATENCY, nn) #PhD
#for bb in range(6):
do_scan(MOTORS, POSITIONS_1, REGIONS_1, LATENCY, nn) #PhD
#do_scan(MOTORS, POSITIONS_1, REGIONS_1, LATENCY, nn) #PhD
#do_scan(MOTORS, POSITIONS_3, REGIONS_3, LATENCY, nn) #PhD