aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/eit_with_vcsel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/eit_with_vcsel.py b/examples/eit_with_vcsel.py
index 3cbc7d9..de1e9f1 100644
--- a/examples/eit_with_vcsel.py
+++ b/examples/eit_with_vcsel.py
@@ -46,7 +46,7 @@ class BfieldDriver(KeysightE3612A):
super().__init__(*args, **kwds)
self.config['Device type'] = 'B field coil driver based on Keysight E3612A power supply'
self.config['Device model'] = 'v0.1'
- self.deviceProperties.add({'B', 'Bslope_TperA', 'CoilAssignment'})
+ self.deviceProperties = self.deviceProperties.union({'B', 'Bslope_TperA', 'CoilAssignment'})
""""
Rough magnetic field calibration of the 3 axes coils in large magnetic shield
- Ch1: 70mA -> 650 kHz shift for delta m = 2
@@ -62,7 +62,7 @@ class BfieldDriver(KeysightE3612A):
3: 0.0006635058865577695
}
# assuming that Ch1 controls Bz, Ch2 -> By, Ch3 -> Bx
- self._coil_assignment = { 'chX': 3; 'chY': 2, 'chZ': 1 }
+ self._coil_assignment = { 'chX': 3, 'chY': 2, 'chZ': 1 }
def getBslope_TperA(self):
return self._Bslope_TperA