-
Notifications
You must be signed in to change notification settings - Fork 8
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
van Hees 2015 sleep / wake classification algorithm #34
Comments
Hi @m-patterson-wearable, thanks for pointing this out! In fact, we're actually already aware of the 2015 van Hees algorithm and also considered implementing the algorithm for |
Is your feature request related to a problem? Please describe.
Current sleep/wake classification algorithms all rely on activity counts, which are difficult to replicate properly for a variety of reasons.
Describe the solution you'd like
A sleep/wake classification algorithm based off the van Hees, 2015 paper
This method was designed purposely to be an easy to describe heuristic. It also showed similar performance to other sleep/wake classification algorithms. It uses two thresholds, 1 - the z-angle range and 2- a length of time. The default parameters are 5 degrees and 5 minutes. So, if the z-angle changes less than 5-degrees in 5-minutes, then the 5-minute period is classified as sleep. If the z-angel changes more than 5-degrees in 5-minutes, then the 5-minute period is classified as wake.
The text was updated successfully, but these errors were encountered: