Closedown

This commit is contained in:
voulot_d
2017-01-20 12:30:30 +01:00
parent f632f973e8
commit de9bc347f3

View File

@@ -84,9 +84,9 @@ phase_offset = 90 - phase_fit_max
amplitude_scale = energy_gain / Ampl
power_scale = Power / math.pow(Ampl,2)
caput(station + "-RSYS:CALC-VSUM-PHASE-OFFSET", phase_offset)
caput(station + "-RSYS:CALC-VSUM-AMPLT-SCALE" , amplitude_scale)
caput(station + "-RSYS:CALC-VOLT-POWER-SCALE" , power_scale)
caput(station + "-RSYS:SET-VSUM-PHASE-OFFSET-BASE", phase_offset)
caput(station + "-RSYS:SET-VSUM-AMPLT-SCALE", amplitude_scale)
caput(station + "-RSYS:SET-VOLT-POWER-SCALE", power_scale)
#title="Phase scan "+str(station)
#message=("Energy Gain: %0.3f" % energy_gain + "MeV\n" +