We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
np.asfarray
1 parent 9fde1c0 commit 7a67842Copy full SHA for 7a67842
labscript_devices/AlazarTechBoard.py
@@ -558,7 +558,7 @@ def program_manual(self, values):
558
559
def to_volts(self, zeroToFullScale, buf):
560
offset = float(2**(self.bitsPerSample-1))
561
- return (np.asfarray(buf, np.float32)-offset)/offset * zeroToFullScale * 0.001
+ return (np.asarray(buf, np.float32)-offset)/offset * zeroToFullScale * 0.001
562
563
# This helper function waits for the acquisition_loop thread to finish the acquisition,
564
# either successfully or after an exception.
0 commit comments