Exemple #1
0
class EEGLogger(threading.Thread):
    def __init__(self):
        threading.Thread.__init__(self)
        self.symtop = Symtop()

    def run(self):
        while True:
            self.symtop.geteeg()
Exemple #2
0
class EEGlogger(threading.Thread):
    def __init__(self, t_name):
        threading.Thread.__init__(self, name=t_name)
        self.symtop = Symtop()

    def run(self):
        global FLAG
        global data_eeg

        while FLAG:
            x = self.symtop.geteeg()
            data_eeg = np.concatenate((data_eeg, x), axis=0)
        print 'eeg logger thread exiting...'
Exemple #3
0
 def __init__(self):
     threading.Thread.__init__(self)
     self.symtop = Symtop()
Exemple #4
0
 def __init__(self, t_name):
     threading.Thread.__init__(self, name=t_name)
     self.symtop = Symtop()