From 4bc5d1baf70af2f0433f1c135807e9bba5dbb3ce 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 801b689ca..fdc25d30b 100644 --- a/artiq/coredevice/ad9910.py +++ b/artiq/coredevice/ad9910.py @@ -197,7 +197,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 1d0a72dad..1aa54afce 100644 --- a/artiq/coredevice/suservo.py +++ b/artiq/coredevice/suservo.py @@ -479,7 +479,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. @@ -497,7 +497,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. @@ -515,7 +515,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 @@ -535,7 +535,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 b119d14bc..0b512f881 100644 --- a/artiq/gui/applets.py +++ b/artiq/gui/applets.py @@ -313,7 +313,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()