Skip to content

Commit

Permalink
QDac2 adapt signature to what is actually returned
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Feb 10, 2022
1 parent e0b5c55 commit 422d631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qcodes_contrib_drivers/drivers/QDevil/QDAC2.py
Expand Up @@ -1554,14 +1554,14 @@ def __exit__(self, exc_type, exc_val, exc_tb):
# Let Arrangement take care of freeing triggers
return False

def actual_values_V(self, gate: str) -> Sequence[float]:
def actual_values_V(self, gate: str) -> np.ndarray:
"""The corrected values that would actually be sent to the gate
Args:
gate (str): Name of gate
Returns:
Sequence[float]: Corrected voltages
np.ndarray: Corrected voltages
"""
index = self._arrangement._gate_index(gate)
return self._sweep[:, index]
Expand Down

0 comments on commit 422d631

Please sign in to comment.