This commit is contained in:
root
2018-06-04 11:02:16 +02:00
parent 9bafa1e18d
commit 7da4e32097
15 changed files with 150 additions and 65 deletions
+7 -7
View File
@@ -1,18 +1,18 @@
import ch.psi.pshell.epics.ChannelDouble as ChannelDouble
A1 = ChannelDouble("Gap", "SARUN03-UPHS060:GAP")
A1 = ChannelDouble("Gap", "SARUN03-UPHS060:GAP")
S1 = ChannelDouble("energy per pulse", "SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-US")
A1 = ChannelDouble("Phase (deg.)", "SARUN11-UIND030:PHI_SET")
A1 = ChannelDouble("Phase (deg.)", "SARUN11-UIND030:PHI_SET")
S1 = ChannelDouble("energy per pulse (uJ)", "SARFE10-PBPG050:PHOTON-ENERGY-PER-PULSE-US")
S2 = ChannelDouble("HAMP", "SARFE10-PBPG050:HAMP-INTENSITY-CAL")
A1.initialize()
S1.initialize()
S2.initialize()
A1_init = A1.read()
A1i = -0.5
A1f = 1.5
nstep = 20
A1i = -180
A1f = 180
nstep = 72
lat = 0.11
nav = 50
nav = 100
plt = plot(None, title="Output")[0]
plt.clear()
plt.setStyle(plt.Style.ErrorY)