aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-15 09:24:15 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-15 09:24:15 -0400
commit1364b3312c1c7d853daa7eecb9496c9e1b123f21 (patch)
tree8034bdc68b4d1590641d6cf586dad90cb8ff571d
parent0256cd4e9064fdabba0d98fb62e588bcaea09aed (diff)
downloadpyExpControl-1364b3312c1c7d853daa7eecb9496c9e1b123f21.tar.gz
pyExpControl-1364b3312c1c7d853daa7eecb9496c9e1b123f21.zip
added alpha channel to adc colors
-rw-r--r--eitControl.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/eitControl.py b/eitControl.py
index cce0b36..2a033e0 100644
--- a/eitControl.py
+++ b/eitControl.py
@@ -24,7 +24,8 @@ class Experiment:
self.root = root
self.tic = 0
self.channelsNames2grab={'tic', 'x','rfFreq','dac0', 'dac1', 'adc0', 'adc1', 'adc2', 'adc3'}
- self.channelsColor = { 'adc0': (255,170,127), 'adc1': (85,170,255), 'adc2': 'm', 'adc3': (0,85,255), 'dac0': 'w', 'dac1': 'g'}
+ alpha=100
+ self.channelsColor = { 'adc0': (255,170,127,alpha), 'adc1': (85,170,255,alpha), 'adc2': (255,0,255,alpha), 'adc3': (0,85,255,alpha), 'dac0': 'r', 'dac1': 'g'}
#self.channelsNames2plot={'dac0', 'dac1', 'adc0', 'adc1', 'adc2', 'adc3'}
if args.test:
self.channelsNames2plot={'adc0', 'adc1', 'adc2', 'adc3'}