Skip to content

Live streaming #56

Answered by raphaelvallat
19942214 asked this question in Q&A
Apr 7, 2022 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Hi @19942214 — great question. YASA was only designed for offline uses, and therefore will not work for real-time scoring. That said, if you can get access to the real-time + historical data (e.g. all the data that has been recorded so far) in let's say a numpy array or MNE object, it is technically feasible to just repeatedly call YASA every new epoch and extract the sleep stages up until this point. However, this won't be perfectly real-time, because it can only be done once the current 30-sec epoch is over.

Hope this helps,

Thanks,
Raphael

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@19942214
Comment options

@19942214
Comment options

@raphaelvallat
Comment options

@19942214
Comment options

@raphaelvallat
Comment options

Answer selected by remrama
Comment options

You must be logged in to vote
2 replies
@19942214
Comment options

@raphaelvallat
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question 🙋 Further information is requested
2 participants