Closedown

This commit is contained in:
sfop
2017-07-10 19:56:54 +02:00
parent 7606f104bf
commit 2ea6e1a250
4 changed files with 15 additions and 13 deletions

View File

@@ -48,7 +48,7 @@ bph.config.minValue = -360.0
bph.config.maxValue = 360.0
bph.config.precision = 3
bph.config.rotation = False
bph.config.resolution = 1.0
bph.config.resolution = 0.01
bph.config.save()
bph.initialize()
rph.initialize()

View File

@@ -58,6 +58,8 @@ def after(rec):
caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(arr_energy,'d'))
try:
phase.write(start)
time.sleep(1.0)
x_averager = create_averager(x, nb, 0.100)
r = lscan(phase, x_averager, start, stop, step, latency=lat, after_read = after)
rf_phase = r.getPositions(0)