Script execution
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user