diff --git a/script/RFscan/phase_scan_caqtdm_sim.py b/script/RFscan/phase_scan_caqtdm_sim.py index 54aab31..d48c18b 100644 --- a/script/RFscan/phase_scan_caqtdm_sim.py +++ b/script/RFscan/phase_scan_caqtdm_sim.py @@ -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" +