Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting raw data only #20

Open
mareymm opened this issue Aug 14, 2020 · 0 comments
Open

getting raw data only #20

mareymm opened this issue Aug 14, 2020 · 0 comments

Comments

@mareymm
Copy link

mareymm commented Aug 14, 2020

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

Capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant