Commit 1aa0262d authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes a small bug in _tx_compute_voltage

Showing with 1 addition and 1 deletion
+1 -1
......@@ -95,7 +95,7 @@ class OhmPiHardware:
vab_max = np.abs(vab_max)
vmn_min = np.abs(vmn_min)
vab = np.min(np.abs(tx_volt), vab_max)
vab = np.min([np.abs(tx_volt), vab_max])
self.tx.polarity = 1
self.tx.turn_on()
vmn, iab = self._vab_pulse(vab=vab, length=best_tx_injtime)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment