You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting only raw data while calling back attention data, does anyone know how to solve it?
this my code :
from NeuroPy.NeuroPy import NeuroPy
from time import sleep
abc = NeuroPy("COM3", 16550)
def attention_callback(attention_value):
"""this function will be called everytime NeuroPy has a new value for attention"""
print ("Value of attention is: ", attention_value)
return None
I'm getting only raw data while calling back attention data, does anyone know how to solve it?
this my code :
from NeuroPy.NeuroPy import NeuroPy
from time import sleep
abc = NeuroPy("COM3", 16550)
def attention_callback(attention_value):
"""this function will be called everytime NeuroPy has a new value for attention"""
print ("Value of attention is: ", attention_value)
return None
abc.setCallBack("attention", attention_callback)
abc.start()
I get:
self.rawValue = 1917
self.rawValue = 779
self.rawValue = -1625
self.rawValue = -744
self.rawValue = 1589
self.rawValue = 1028
self.rawValue = -1491
self.rawValue = -1111
Mindwave has already started!
self.rawValue = 1335
self.rawValue = 1809
self.rawValue = -426
The text was updated successfully, but these errors were encountered: