Script execution

This commit is contained in:
x03daop
2017-07-22 02:53:17 +02:00
parent 3065f2424f
commit 8690e8536d
+2 -2
View File
@@ -17,7 +17,7 @@ LATENCY = 0.0
SENSORS = [Counts, Scienta.dataMatrix, SampleCurrent, RefCurrent, MachineCurrent]
Scienta.setAcquisitionMode(ch.psi.pshell.epics.Scienta.AcquisitionMode.Swept)
writables = (ManipulatorPhi, ManipulatorTheta, ManipulatorX, ManipulatorY)
writables = (ManipulatorTheta)
adjust_sensors()
SampleCurrentAveraging.write(10)
@@ -31,7 +31,7 @@ try:
NPOINTS = 61
#phi = [0.5 for i in range(NPOINTS)]
phi=30.5
theta = [i * 1.0 - 11.0 for i in range(NPOINTS)]
theta = [i * 1.0 - 9.0 for i in range(NPOINTS)]
x = [3.0 * math.cos((th+9.0) * math.pi/180.0) - 1.69 for th in theta]
y = [3.0 * math.sin((th+9.0) * math.pi/180.0) - 0.933 for th in theta]
#x = [0.65]