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.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):