Fix some typos

This commit is contained in:
newell 2024-10-17 09:37:53 -07:00 committed by Sébastien Bourdeauducq
parent fd2df7ce68
commit 58ea3b5bcc
3 changed files with 6 additions and 6 deletions

View File

@ -195,7 +195,7 @@ class AD9910:
when changing frequency or phase. The DDS phase is the sum of the when changing frequency or phase. The DDS phase is the sum of the
phase accumulator and the phase offset. The only discontinuous phase accumulator and the phase offset. The only discontinuous
changes in the DDS output phase come from changes to the phase 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` :math:`\phi(t) = q(t^\prime) + p + (t - t^\prime) f`
* :const:`PHASE_MODE_ABSOLUTE`: the phase accumulator is reset when * :const:`PHASE_MODE_ABSOLUTE`: the phase accumulator is reset when

View File

@ -489,7 +489,7 @@ class Channel:
def get_y_mu(self, profile): def get_y_mu(self, profile):
"""Get a profile's IIR state (filter output, Y0) in machine units. """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. scale factor. It is 17 bits wide and unsigned.
This method does not advance the timeline but consumes all slack. This method does not advance the timeline but consumes all slack.
@ -507,7 +507,7 @@ class Channel:
def get_y(self, profile): def get_y(self, profile):
"""Get a profile's IIR state (filter output, Y0). """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. scale factor. It is 17 bits wide and unsigned.
This method does not advance the timeline but consumes all slack. This method does not advance the timeline but consumes all slack.
@ -525,7 +525,7 @@ class Channel:
def set_y_mu(self, profile, y): def set_y_mu(self, profile, y):
"""Set a profile's IIR state (filter output, Y0) in machine units. """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. scale factor. It is 17 bits wide and unsigned.
This method must not be used when the servo could be writing to the 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): def set_y(self, profile, y):
"""Set a profile's IIR state (filter output, Y0). """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. scale factor. It is 17 bits wide and unsigned.
This method must not be used when the servo could be writing to the This method must not be used when the servo could be writing to the

View File

@ -398,7 +398,7 @@ class _CompleterDelegate(QtWidgets.QStyledItemDelegate):
# case, but causes unnecessary flickering and trashing of the user # case, but causes unnecessary flickering and trashing of the user
# selection when datasets are modified due to Qt's naive handler. # selection when datasets are modified due to Qt's naive handler.
# Doing this is of course convoluted due to Qt's arrogance # 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 # slots are connected to signals, but thanks to the complicated
# model system there is a short dirty hack in this particular case. # model system there is a short dirty hack in this particular case.
nodatachanged_model = QtCore.QIdentityProxyModel() nodatachanged_model = QtCore.QIdentityProxyModel()