Skip to content

Commit

Permalink
SRI added
Browse files Browse the repository at this point in the history
Sleep Score card update
  • Loading branch information
rl885 committed Oct 4, 2023
1 parent 6027fd4 commit 318c503
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 8 deletions.
Binary file modified assets/images/BR_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/deepsleep_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/duration_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/efficiency_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/hrv_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/irregularity_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/rating_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/score_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/sleepscore.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/sleepscore_annotated.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/images/snoring_pie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 14 additions & 3 deletions sleep/chrono_jetlag.adoc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
layout: default
title: Chronotype, Social jetlag, Sleep irregularity
title: Chronotype, Social jetlag, Sleep Regularity
nav_order: 2
parent: /sleep/0parent.html
---
:toc: macro

*Sleep as Android watches your sleep pattern trends and can tell you your chronotype, social-jet-lag and sleep-irregularity.*
*Sleep as Android watches your sleep pattern trends and can tell you your chronotype, social-jet-lag and sleep Regularity.*


---
Expand Down Expand Up @@ -65,9 +65,20 @@ In <<figure-chrono-weekdays>> you see there is no obvious clustering for this us
.Weekdays vs. Weekends clustering
image::chrono_weekdays.png[]

== Sleep irregularity

[[regularity]]

== Sleep Regularity
To get maximum of your sleep time, it is crucial to sleep regularly – go to sleep at the same time every day and sleep for a fixed period of time.

Sleep as Android tracks your sleep irregularity and shows you in <</sleep/charts#,Charts>> how irregular your sleep is.

The irregularity shown is the https://en.wikipedia.org/wiki/Variance[variance] of your mid sleep hour.


[[sri]]

=== Sleep Regularity Index
SRI is a metric calculated as the probability of an individual being in the same state (asleep or awake) at any two time points 24 hours apart, averaged over 7-days (range 0–100, with 100 being perfectly regular).
This index can be used for monitoring your risk of health issues - read about the link https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10153326/[between SRI and mortality], or the link https://www.nature.com/articles/s41598-017-03171-4[between SRI and academic performance].
You can also read how https://academic.oup.com/sleep/article/44/10/zsab103/6232042[SRI compares to other sleep metrics].
19 changes: 14 additions & 5 deletions sleep/sleepscore.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The app will point out some notable trends and also suggest some changes in the
== Sleep score dimensions

There are eight dimensions that contribute to sleep quality. Each of the dimensions has a healthy range and an unhealthy range.
The app combines all dimensions into one "Sleep Score" for simplification (only new version).
The app combines all dimensions into one "Sleep Score" for simplification.

[cols="^,<,<,<,<", options="header"]
|===
Expand All @@ -44,6 +44,15 @@ The app combines all dimensions into one "Sleep Score" for simplification (only
|Bottom figure
|Healthy / Unfavourable range

a|image::score_pie.png[]
*Sleep Score*
|Overall score combining all your other sleep metrics.
|Percentage of the score (0,100).
|
|Healthy: as close to 100% as possible
Unfavourable:


a|image::hrv_pie.png[]
*HRV gain*
|The difference between your HRV measured during the first low activity period (hrv before) of your sleep and the HRV measure at the last low activity period before awake up (hrv after) (see details https://sleep.urbandroid.org/hrv-tracking/[here]).
Expand All @@ -61,11 +70,11 @@ a|image::BR_pie.png[]
Unfavourable: over 20

a|image::irregularity_pie.png[]
*Irregularity*
|How irregular your sleep is. Variance of your mid-sleep hour.
*Regularity*
|How regular your sleep is. Variance of your mid-sleep hour.
|Deviation of sleep duration and mid sleep hour.
|
|Healthy: under 0.5 hours
|SRI, <</sleep/chrono_jetlag#sri,more details here>>
|Healthy: under 0.5 hours for regularity, as close to 100 for SRI as possible.
Unfavourable: over 1 hour

a|image::deepsleep_pie.png[]
Expand Down

0 comments on commit 318c503

Please sign in to comment.