2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-18 16:06:30 +08:00

docs: fix sampler, waveform

This commit is contained in:
Simon Renblad 2024-02-23 10:18:11 +08:00 committed by Sébastien Bourdeauducq
parent cda758ef53
commit c49600a2fc
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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",