From 8bf9640185e797dc38db15ef44926163ac1f2eec Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Thu, 20 Jun 2019 17:42:24 +0100 Subject: [PATCH] coredevice/suservo: Fix output IIR state width in docstring --- artiq/coredevice/suservo.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/artiq/coredevice/suservo.py b/artiq/coredevice/suservo.py index 4c41d1a90..7f30112ce 100644 --- a/artiq/coredevice/suservo.py +++ b/artiq/coredevice/suservo.py @@ -450,12 +450,12 @@ class Channel: """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 - scale factor. It is 18 bits wide and unsigned. + scale factor. It is 17 bits wide and unsigned. This method does not advance the timeline but consumes all slack. :param profile: Profile number (0-31) - :return: 18 bit unsigned Y0 + :return: 17 bit unsigned Y0 """ return self.servo.read(STATE_SEL | (self.servo_channel << 5) | profile) @@ -464,7 +464,7 @@ class Channel: """Get a profile's IIR state (filter output, Y0). The IIR state is also know as the "integrator", or the DDS amplitude - scale factor. It is 18 bits wide and unsigned. + scale factor. It is 17 bits wide and unsigned. This method does not advance the timeline but consumes all slack. @@ -478,7 +478,7 @@ class Channel: """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 - scale factor. It is 18 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 same location. Either deactivate the profile, or deactivate IIR @@ -498,7 +498,7 @@ class Channel: """Set a profile's IIR state (filter output, Y0). The IIR state is also know as the "integrator", or the DDS amplitude - scale factor. It is 18 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 same location. Either deactivate the profile, or deactivate IIR