From c49600a2fcd86e77244e2f9eb6f2b225bb0a71a7 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Fri, 23 Feb 2024 10:18:11 +0800 Subject: [PATCH] docs: fix sampler, waveform --- artiq/coredevice/sampler.py | 2 +- doc/manual/conf.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/sampler.py b/artiq/coredevice/sampler.py index 8f9997e20..f12cc16ac 100644 --- a/artiq/coredevice/sampler.py +++ b/artiq/coredevice/sampler.py @@ -21,7 +21,7 @@ def adc_mu_to_volt(data, gain=0, corrected_fs=True): :param data: 16 bit signed ADC word :param gain: PGIA gain setting (0: 1, ..., 3: 1000) :param corrected_fs: use corrected ADC FS reference. - Should be True for Samplers' revisions after v2.1. False for v2.1 and earlier. + Should be True for Samplers' revisions after v2.1. False for v2.1 and earlier. :return: Voltage in Volts """ if gain == 0: diff --git a/doc/manual/conf.py b/doc/manual/conf.py index 7e06ea680..af1f56e82 100644 --- a/doc/manual/conf.py +++ b/doc/manual/conf.py @@ -34,6 +34,7 @@ mock_modules = ["artiq.gui.waitingspinnerwidget", "artiq.gui.models", "artiq.compiler.module", "artiq.compiler.embedding", + "artiq.dashboard.waveform", "qasync", "pyqtgraph", "matplotlib", "numpy", "dateutil", "dateutil.parser", "prettytable", "PyQt5", "h5py", "serial", "scipy", "scipy.interpolate",