From 57e87c97173f4c04f580bd9e7b0a0a88975816ed Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 15 Jan 2023 12:26:08 +0800 Subject: [PATCH] sampler: fix mistake in c591e7e3 --- artiq/coredevice/sampler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/sampler.py b/artiq/coredevice/sampler.py index caba223fe..8f9997e20 100644 --- a/artiq/coredevice/sampler.py +++ b/artiq/coredevice/sampler.py @@ -152,4 +152,4 @@ class Sampler: for i in range(n): channel = i + 8 - len(data) gain = (self.gains >> (channel*2)) & 0b11 - data[i] = adc_mu_to_volt(adc_data[i], gain, self.revision) + data[i] = adc_mu_to_volt(adc_data[i], gain, self.corrected_fs)