From dd77a70c04aebf60afa324eab452639e251acd63 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Thu, 2 Jun 2022 14:42:49 -0400 Subject: correct property additions --- examples/eit_with_vcsel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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 -- cgit v1.2.3