From 58ea3b5bcce87cb02d815c622f7a1d85cf71300f Mon Sep 17 00:00:00 2001 From: newell Date: Thu, 17 Oct 2024 09:37:53 -0700 Subject: [PATCH] Fix some typos --- artiq/coredevice/ad9910.py | 2 +- artiq/coredevice/suservo.py | 8 ++++---- artiq/gui/applets.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/artiq/coredevice/ad9910.py b/artiq/coredevice/ad9910.py index f6d7928ab..821411b8e 100644 --- a/artiq/coredevice/ad9910.py +++ b/artiq/coredevice/ad9910.py @@ -195,7 +195,7 @@ class AD9910: when changing frequency or phase. The DDS phase is the sum of the phase accumulator and the phase offset. The only discontinuous changes in the DDS output phase come from changes to the phase - offset. This mode is also knows as "relative phase mode". + offset. This mode is also known as "relative phase mode". :math:`\phi(t) = q(t^\prime) + p + (t - t^\prime) f` * :const:`PHASE_MODE_ABSOLUTE`: the phase accumulator is reset when diff --git a/artiq/coredevice/suservo.py b/artiq/coredevice/suservo.py index 2e82a8539..7bb000218 100644 --- a/artiq/coredevice/suservo.py +++ b/artiq/coredevice/suservo.py @@ -489,7 +489,7 @@ class Channel: def get_y_mu(self, profile): """Get a profile's IIR state (filter output, Y0) in machine units. - The IIR state is also know as the "integrator", or the DDS amplitude + The IIR state is also known as the "integrator", or the DDS amplitude scale factor. It is 17 bits wide and unsigned. This method does not advance the timeline but consumes all slack. @@ -507,7 +507,7 @@ class Channel: def get_y(self, profile): """Get a profile's IIR state (filter output, Y0). - The IIR state is also know as the "integrator", or the DDS amplitude + The IIR state is also known as the "integrator", or the DDS amplitude scale factor. It is 17 bits wide and unsigned. This method does not advance the timeline but consumes all slack. @@ -525,7 +525,7 @@ class Channel: def set_y_mu(self, profile, y): """Set a profile's IIR state (filter output, Y0) in machine units. - The IIR state is also know as the "integrator", or the DDS amplitude + The IIR state is also known as the "integrator", or the DDS amplitude scale factor. It is 17 bits wide and unsigned. This method must not be used when the servo could be writing to the @@ -545,7 +545,7 @@ class Channel: def set_y(self, profile, y): """Set a profile's IIR state (filter output, Y0). - The IIR state is also know as the "integrator", or the DDS amplitude + The IIR state is also known as the "integrator", or the DDS amplitude scale factor. It is 17 bits wide and unsigned. This method must not be used when the servo could be writing to the diff --git a/artiq/gui/applets.py b/artiq/gui/applets.py index 0cb25142d..99347084a 100644 --- a/artiq/gui/applets.py +++ b/artiq/gui/applets.py @@ -398,7 +398,7 @@ class _CompleterDelegate(QtWidgets.QStyledItemDelegate): # case, but causes unnecessary flickering and trashing of the user # selection when datasets are modified due to Qt's naive handler. # Doing this is of course convoluted due to Qt's arrogance - # about private fields and not letting users knows what + # about private fields and not letting users know what # slots are connected to signals, but thanks to the complicated # model system there is a short dirty hack in this particular case. nodatachanged_model = QtCore.QIdentityProxyModel()