diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-02 13:55:01 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-02 13:55:01 -0400 |
commit | e9efd9caef73455fb7f54656840a4a8391ff450e (patch) | |
tree | c74d070f2c6d7a3785a87d1cf6de3b28bbf63e16 /examples/eit_with_vcsel.py | |
parent | f8e258589416211b60b8c8944e4eb61792c1bd71 (diff) | |
download | qolab-e9efd9caef73455fb7f54656840a4a8391ff450e.tar.gz qolab-e9efd9caef73455fb7f54656840a4a8391ff450e.zip |
enable current change when setting B field
Diffstat (limited to 'examples/eit_with_vcsel.py')
-rw-r--r-- | examples/eit_with_vcsel.py | 7 |
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): |