Closedown

This commit is contained in:
sfop
2017-02-17 15:27:00 +01:00
parent c737dc5c0e
commit b5cfacc4d6
3 changed files with 13 additions and 15 deletions
+8 -8
View File
@@ -1,13 +1,13 @@
#Tue Feb 14 15:23:48 CET 2017
#Fri Feb 17 15:11:49 CET 2017
colormap=Temperature
colormapAutomatic=true
colormapMax=0.0
colormapMin=0.0
flipHorizontally=false
flipVertically=false
flipVertically=true
grayscale=false
imageHeight=1040
imageWidth=1392
imageHeight=1200
imageWidth=1246
invert=false
rescaleFactor=1.0
rescaleOffset=0.0
@@ -19,9 +19,9 @@ rotation=0.0
rotationCrop=false
scale=1.0
serverURL=sf-cons-01\:10000
spatialCalOffsetX=0.0
spatialCalOffsetY=0.0
spatialCalScaleX=1.0
spatialCalScaleY=1.0
spatialCalOffsetX=-630.0
spatialCalOffsetY=-612.0
spatialCalScaleX=-26.761819803746654
spatialCalScaleY=-26.595744680851062
spatialCalUnits=mm
transpose=false
+2 -3
View File
@@ -40,14 +40,13 @@ arr_phase,arr_energy = [],[]
def after(rec):
global disp, energy0
arr_phase.append(rec.positions[0])
arr_energy.append(rec.values[1].mean/1000.0/disp*energy0)
arr_energy.append(rec.values[0].mean/1000.0/disp*energy0)
caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(arr_energy,'d'))
caput(station + "-RSYS:GET-PHASE-ARRAY", to_array(arr_phase, 'd'))
try:
Vb = create_averager(V, nb, 0.100)
xb = create_averager(x, nb, 0.100)
r = lscan(phase, [Vb, xb], start, stop, step , latency=lat, after_read = after)
r = lscan(phase, xb, start, stop, step , latency=lat, after_read = after)
rf_phase = r.getPositions(0)
energy = [val.mean/1000.0/disp*energy0 for val in r.getReadable(1)]
caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(energy, 'd'))
+3 -4
View File
@@ -40,16 +40,15 @@ arr_phase,arr_energy = [],[]
def after(rec):
global disp, energy0
arr_phase.append(rec.positions[0])
arr_energy.append(rec.values[1].mean/1000.0/disp*energy0)
arr_energy.append(rec.values[0].mean/1000.0/disp*energy0)
caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(arr_energy,'d'))
caput(station + "-RSYS:GET-PHASE-ARRAY", to_array(arr_phase, 'd'))
try:
Vb = create_averager(V, nb, 0.100)
xb = create_averager(x, nb, 0.100)
r = lscan(phase, [Vb, xb], start, stop, step , latency=lat, after_read = after)
r = lscan(phase, xb, start, stop, step , latency=lat, after_read = after)
rf_phase = r.getPositions(0)
energy = [val.mean/1000.0/disp*energy0 for val in r.getReadable(1)]
energy = [val.mean/1000.0/disp*energy0 for val in r.getReadable(0)]
caput(station + "-RSYS:GET-ENERGY-ARRAY", to_array(energy, 'd'))
caput(station + "-RSYS:GET-PHASE-ARRAY", to_array(rf_phase,'d'))
phase_fit_max = None