From f65c4ba5faeb528d15e162931b3d8ef750d849bb Mon Sep 17 00:00:00 2001 From: gac-x11ma Date: Thu, 14 Dec 2017 02:22:33 +0100 Subject: [PATCH] Script execution --- script/Electric_field_loop.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/Electric_field_loop.py b/script/Electric_field_loop.py index 0f6222f..aa60bc6 100644 --- a/script/Electric_field_loop.py +++ b/script/Electric_field_loop.py @@ -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)