aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-06-02 13:55:01 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-06-02 13:55:01 -0400
commite9efd9caef73455fb7f54656840a4a8391ff450e (patch)
treec74d070f2c6d7a3785a87d1cf6de3b28bbf63e16 /examples
parentf8e258589416211b60b8c8944e4eb61792c1bd71 (diff)
downloadqolab-e9efd9caef73455fb7f54656840a4a8391ff450e.tar.gz
qolab-e9efd9caef73455fb7f54656840a4a8391ff450e.zip
enable current change when setting B field
Diffstat (limited to 'examples')
-rw-r--r--examples/eit_with_vcsel.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/eit_with_vcsel.py b/examples/eit_with_vcsel.py
index 4783092..f455c1a 100644
--- a/examples/eit_with_vcsel.py
+++ b/examples/eit_with_vcsel.py
@@ -103,12 +103,13 @@ class BfieldDriver(KeysightE3612A):
Iy = By / Bslope_TperA[chY]
Iz = Bz / Bslope_TperA[chZ]
+ logger.info(f'Setting {Bmag=}, {theta=} {phi=} in radians')
logger.info(f"Setting {chX=} to {Ix}")
logger.info(f"Setting {chY=} to {Iy}")
logger.info(f"Setting {chZ=} to {Iz}")
- # self.setChanIout(chX, Ix)
- # self.setChanIout(chY, Iy)
- # self.setChanIout(chZ, Iz)
+ self.setChanIout(chX, Ix)
+ self.setChanIout(chY, Iy)
+ self.setChanIout(chZ, Iz)
return Ix, Iy, Iz
def setBinDegrees(self, Bmag=50e-6, theta=0, phi=0):