Emotiv / labstreaminglayer

Lab Stream Layer support with EMOTIV Brainwear
MIT License
48 stars 9 forks source link

Performance Metrics Timestamp #15

Open QQAI13 opened 1 year ago

QQAI13 commented 1 year ago

Hi, I've updated to the newest version(3.6.8.497) of emotiv pro, and found that the timestamp output by performance metrics and band power were both wrong. (the EEG one is correct) I tried to print the sample variable of performance metrics and found the position of which timestamp should show is 0, thus i cannot translate it into correct datetime. Any solution for it? image

hoangphamemotiv commented 1 year ago

Hi @QQAI13 . Which example are you using?

QQAI13 commented 1 year ago

Hi @QQAI13 . Which example are you using?

Hi, I tested it by real person data, should I use another example data to try? sorry for I'm not very familiar with this software right now.

hoangphamemotiv commented 1 year ago

@QQAI13 i'm trying to see how you print timestamp for Performance metrics. It should be a double value like: 1695717560.8083

tanphamv commented 1 year ago

Hi @QQAI13 . Which example are you using?

Hi, I tested it by real person data, should I use another example data to try? sorry for I'm not very familiar with this software right now.

what code example you are running ?

QQAI13 commented 1 year ago

@QQAI13 i'm trying to see how you print timestamp for Performance metrics. It should be a double value like: 1695717560.8083

I used python StreamInlet.pull_sample() function to get the data of eeg output, and print the sample directly like above, and the code is written by ourselves.

tanphamv commented 1 year ago

we have example here, pls try https://github.com/Emotiv/labstreaminglayer/blob/master/examples/python/ReceiveData.py

QQAI13 commented 1 year ago

we have example here, pls try https://github.com/Emotiv/labstreaminglayer/blob/master/examples/python/ReceiveData.py

Hi, I've tried it and got the similar result (other parameters are -1 due to no one was wearing equippment then)

image

Edited:

Here are code and output:

image