aboutsummaryrefslogtreecommitdiff
path: root/examples/eit_with_vcsel.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/eit_with_vcsel.py')
-rw-r--r--examples/eit_with_vcsel.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/eit_with_vcsel.py b/examples/eit_with_vcsel.py
index de1e9f1..03dbf34 100644
--- a/examples/eit_with_vcsel.py
+++ b/examples/eit_with_vcsel.py
@@ -238,7 +238,7 @@ def setBandTakeTrace(Bmag=50e-6, theta=0, phi=0, central_frequency=6.83468e9, fr
def rotateBandGetEITtrace():
- Np=1000
+ Np=500
Nsweeps=5
Bmag=50e-6 # earth magnetic field in Tesla (0.5 G)
phiStep = 10
@@ -247,8 +247,7 @@ def rotateBandGetEITtrace():
thetaSet = range(0,90+thetaStep, thetaStep)
for phi in phiSet:
for theta in thetaSet:
- Bfield.setBinDegrees(Bmag=Bmag, theta=theta, phi=phi)
- trEIT = eitSweep(central_frequency, frequency_span, Np, Nsweeps=Nsweeps)
+ trEIT = setBandTakeTrace(Bmag=Bmag, theta=theta, phi=phi, central_frequency=central_frequency, frequency_span=frequency_span, Np=Np, Nsweeps=Nsweeps)
plt.clf()
trEIT.plot()
plt.draw()