aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-12 17:35:42 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-12 17:43:23 -0400
commit9fca5d9a397ed493da01be151e7a89d0e69d001c (patch)
tree32cab39a01bc8b40bf6f26faa1967516f4497f72
parent0d88defb2469ab4f696880ffa41f153265acd307 (diff)
downloadpyExpControl-9fca5d9a397ed493da01be151e7a89d0e69d001c.tar.gz
pyExpControl-9fca5d9a397ed493da01be151e7a89d0e69d001c.zip
changed description
-rw-r--r--funcGenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcGenerator.py b/funcGenerator.py
index df15284..d9abf06 100644
--- a/funcGenerator.py
+++ b/funcGenerator.py
@@ -50,7 +50,7 @@ class TriangleGen:
return self.start + 2*(1-sweeper.getRelPos())*(self.stop - self.start)
class PulseGen:
- # monotonically goes from start to stop, once reaches stop goes back to start
+ # produce ampl for the first half a period and 0 for the other half
def __init__(self, ampl=1, sweeper=None):
self.ampl = ampl
self.sweeper = sweeper