aboutsummaryrefslogtreecommitdiff
path: root/funcGenerator.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-13 00:20:49 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-13 00:21:41 -0400
commit96a8cca1483e636da438b7496dc5db8f355028a7 (patch)
tree5daa1a891765111b200f8d61102cbe7912849455 /funcGenerator.py
parent4879c57b697b1c804971f8bd4abc3cea5530f2b8 (diff)
downloadpyExpControl-96a8cca1483e636da438b7496dc5db8f355028a7.tar.gz
pyExpControl-96a8cca1483e636da438b7496dc5db8f355028a7.zip
funcGenerator preload PyQtGraph QtCore method as a fallback mechanismv1.0-TkGUI
Diffstat (limited to 'funcGenerator.py')
-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