aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--funcGenerator.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/funcGenerator.py b/funcGenerator.py
index fdd56a5..caccacc 100644
--- a/funcGenerator.py
+++ b/funcGenerator.py
@@ -2,6 +2,11 @@ import time # For sleep, clock, time and perf_counter
from datetime import datetime, timedelta
import numpy as np
+try:
+ from pyqtgraph.Qt import QtCore
+except:
+ pass
+
class SinGen:
def __init__(self, ampl=1, offset=0, phase=0, sweeper=None):
self.ampl = ampl