diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-02 15:06:01 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-02 15:06:01 -0400 |
commit | 7f6b49e81abcbaad2e663e549fbf8e0da68c3749 (patch) | |
tree | 26d30971e8832bf8651975c93111827b26d48021 /examples | |
parent | dd77a70c04aebf60afa324eab452639e251acd63 (diff) | |
download | qolab-7f6b49e81abcbaad2e663e549fbf8e0da68c3749.tar.gz qolab-7f6b49e81abcbaad2e663e549fbf8e0da68c3749.zip |
streamlined data aquisitionv0.3
Diffstat (limited to 'examples')
-rw-r--r-- | examples/eit_with_vcsel.py | 5 |
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() |