diff --git a/script/Electric_field_loop2.py b/script/Electric_field_loop2.py index eed2d06..8ebc7c8 100644 --- a/script/Electric_field_loop2.py +++ b/script/Electric_field_loop2.py @@ -27,16 +27,13 @@ E1 = 779.3 # Edge # Voltage/magnetic field setting Max = 10; Min=-Max; -Steps = 20; -step_size = Steps/Max; -steps=1/step_size; +No_of_steps = 20; +step_size = float(Max/No_of_steps); Noavg = 3; N_loops = 10; print "Min/Max = ", Min/Max print "Steps = ", No_of_steps -print "step_size = ", step_size -print "steps = ", steps loops=frange(1,N_loops,1); forward=frange(Min,Max,dB);