Script execution
This commit is contained in:
@@ -17,7 +17,7 @@ LATENCY = 0.0
|
||||
SENSORS = [Counts, Scienta.dataMatrix, SampleCurrent, RefCurrent, MachineCurrent]
|
||||
|
||||
Scienta.setAcquisitionMode(ch.psi.pshell.epics.Scienta.AcquisitionMode.Swept)
|
||||
writables = (ManipulatorTheta)
|
||||
writables = (ManipulatorTheta, ManipulatorX, ManipulatorY)
|
||||
|
||||
adjust_sensors()
|
||||
SampleCurrentAveraging.write(10)
|
||||
@@ -32,8 +32,8 @@ try:
|
||||
#phi = [0.5 for i in range(NPOINTS)]
|
||||
phi=30.5
|
||||
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 th for th in theta]
|
||||
y = [3.0 * math.sin((th+9.0) * math.pi/180.0) - 0.933 th for th in theta]
|
||||
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]
|
||||
#y = [0.0179 * th for th in theta]
|
||||
#VECTOR = [phi, theta, x, y]
|
||||
|
||||
Reference in New Issue
Block a user