Script execution

This commit is contained in:
voulot_d
2017-01-13 13:49:59 +01:00
parent bbc07eece9
commit 54a7c7f384
+1 -1
View File
@@ -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)