Script execution

This commit is contained in:
gac-x11ma
2017-12-14 02:22:33 +01:00
parent 0a21b9c349
commit f65c4ba5fa

View File

@@ -24,7 +24,7 @@ OFFSETm = -1.9
# Voltage/magnetic field setting
Max = 14;
Min=-Max;
No_of_steps = 28;
No_of_steps = 10;
dB = Max/No_of_steps;
Noavg = 5;
@@ -36,7 +36,7 @@ Noavg = 5;
file_prefix = time.strftime("%y%m%d")
filename=open("data"+file_prefix+".txt","a")
for i in range(0,No_of_steps):
B = -Max +2*i*dB;
B = -Max + 2*i*dB;
print "Setting field = ", B
caput("X11MA-XMCD:I-SETraw",B)