Exemplo n.º 1
0
class EEGLogger(threading.Thread):
    def __init__(self):
        threading.Thread.__init__(self)
        self.symtop = Symtop()

    def run(self):
        while True:
            self.symtop.geteeg()
Exemplo n.º 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...'
Exemplo n.º 3
0
 def __init__(self):
     threading.Thread.__init__(self)
     self.symtop = Symtop()
Exemplo n.º 4
0
 def __init__(self, t_name):
     threading.Thread.__init__(self, name=t_name)
     self.symtop = Symtop()