Script execution
This commit is contained in:
@@ -82,7 +82,7 @@ print ("Valid fit")
|
||||
energy_gain = energy_max
|
||||
phase_offset = 90 - phase_fit_max
|
||||
amplitude_scale = energy_gain / Ampl
|
||||
power_scale = Power / math.pow(V,2)
|
||||
power_scale = Power / math.pow(Ampl,2)
|
||||
|
||||
caput(prefix + ":CALC-VSUM-PHASE-OFFSET", phase_offset)
|
||||
caput(prefix + ":CALC-VSUM-AMPLT-SCALE" , amplitude_scale)
|
||||
|
||||
Reference in New Issue
Block a user