aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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