forked from M-Labs/artiq
1
0
Fork 0

Revert "SUServo: remove references to non-existent a0 parameter" (#1270)

This reverts commit f3aab2b891.

Signed-off-by: TPH <thomas.harty@physics.ox.ac.uk>
This commit is contained in:
hartytp 2019-02-07 15:57:43 +00:00 committed by GitHub
parent fe63c9b366
commit f6142816b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -319,7 +319,7 @@ class Channel:
The recurrence relation is (all data signed and MSB aligned):
.. math::
y_n = a_1 y_{n - 1} + b_0 (x_n + o)/2 + b_1 (x_{n - 1} + o)/2
a_0 y_n = a_1 y_{n - 1} + b_0 (x_n + o)/2 + b_1 (x_{n - 1} + o)/2
Where:
@ -328,6 +328,7 @@ class Channel:
* :math:`x_n` and :math:`x_{n-1}` are the current and previous
filter inputs in :math:`[-1, 1[`.
* :math:`o` is the offset
* :math:`a_0` is the normalization factor :math:`2^{11}`
* :math:`a_1` is the feedback gain
* :math:`b_0` and :math:`b_1` are the feedforward gains for the two
delays