diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-02 14:42:49 -0400 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2022-06-02 14:42:49 -0400 |
commit | dd77a70c04aebf60afa324eab452639e251acd63 (patch) | |
tree | e92afdf356c72c16fdbd5b1f2200d674073ebe16 | |
parent | d419bce5fb7fa7e45558a03055ba50cbbae4452e (diff) | |
download | qolab-dd77a70c04aebf60afa324eab452639e251acd63.tar.gz qolab-dd77a70c04aebf60afa324eab452639e251acd63.zip |
correct property additions
-rw-r--r-- | examples/eit_with_vcsel.py | 4 |
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 |