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

effective_srate oddness in python reader #26

Open
dmedine opened this issue Nov 13, 2018 · 1 comment
Open

effective_srate oddness in python reader #26

dmedine opened this issue Nov 13, 2018 · 1 comment

Comments

@dmedine
Copy link
Contributor

dmedine commented Nov 13, 2018

I noticed something strange today while reading a test signal from the SendData.py example. When I load the data using xdf.py, the effective_sr field in the EEG info is 1.2646483766719545e-05. However, the first timestamp is 430654.7832216, the last timestamp is 430686.9530195 giving an actual effective sampling rate of 1/((x[-1] - x[0])/len(x)) = 76.37954923109451. I recorded for about 30 seconds on a local machine and all the clock offsets appear to be correct (the time of the offset progresses every 5 seconds, and the value is a very small number).

@cbrnr
Copy link
Contributor

cbrnr commented Apr 16, 2019

Can you share an example file where this error occurs?

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

2 participants