Closedown
This commit is contained in:
@@ -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" +
|
||||
|
||||
Reference in New Issue
Block a user