aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-07-13 09:40:38 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-07-13 09:44:52 -0400
commitbb076eb26472e2dac1ea2073b064fb51e314ed9b (patch)
tree437e72fa9043bd3ba2e6e5267dce6a2fa3105a7c
parent8278451d7f9bbe43df48b0a99bc122a351f43be2 (diff)
downloadpyExpControl-bb076eb26472e2dac1ea2073b064fb51e314ed9b.tar.gz
pyExpControl-bb076eb26472e2dac1ea2073b064fb51e314ed9b.zip
better description
-rw-r--r--funcGenerator.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/funcGenerator.py b/funcGenerator.py
index 1d782a3..1e7be5e 100644
--- a/funcGenerator.py
+++ b/funcGenerator.py
@@ -57,6 +57,7 @@ class RampGen:
class TriangleGen(RampGen):
# monotonically goes from start to stop, once reaches stop goes back to start
+ # does it with 50% duty cycle, i.e half of period we go up, the other half down
def getValue(self, sweeper=None):
if sweeper is None and self.sweeper is None:
print("Error: generator needs sweeper")