Skip to content

Commit 2b8988c

Browse files
committed
docs: update README.md with screenshots and updated limitations
Signed-off-by: Stephen L. <LRQ3000@gmail.com>
1 parent c36d292 commit 2b8988c

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,27 @@
44
🌐🏃Use your browser's history as a novel instantaneous mass screening tool for 🌙🛌sleep patterns & maybe disorders!
55

66
## Description
7-
Python 3 tool to generate an online actogram from web browsers history files. Supports various browsers including Google Chrome, Mozilla Firefox and Safari history files.
7+
Python 3 tool to generate an online actogram from web browsers history files. Supports various browsers including Google Chrome, Mozilla Firefox and Safari history files (full list of supported browsers [here](https://browser-history.readthedocs.io/en/latest/browsers.html)).
88

99
To screen sleep-wake patterns and disorders, all such tools require that the user wear an actigraphic device or record themselves a sleep diary. The limitation is that first there needs to be a suspicion of a sleep disorder to request such data from a subject, and secondly it takes weeks or even months of rigorously acquired data by a very compliant subject, for the sleep clinician to then be able to interpret if there is any potential sleep disorder.
1010

1111
The web actogram is the first pseudo-actigraphic tool that can provide an instantaneous estimation of the user’s sleep-wake pattern, aka actogram, by inferring an actogram from the browser’s history. This could allow for mass screening of sleep-wake patterns and disorders via the simple and fast installation of an app.
1212

13+
Multiple web browsers are supported, and the histories of all supported browsers will be merged automatically, and include all profiles installed in all browsers.
14+
15+
Example plots: horizontal (landscape) mode:
16+
![](actograms/example_actogram_horizontal_2022-03-31.png)
17+
18+
Vertical (portrait) mode:
19+
![](actograms/example_actogram_vertical_2022-01-25.png)
20+
1321
The limitations are however as follows:
1422

15-
* The sleep patterns are only very indirectly estimated, only the wakefulness patterns can be considered reliable.
16-
* The web actogram reliability depends on whether the user is an avid user of web browsers: they must use their web browsers on a daily basis. They do not need to use their browser all the time however, but they need to use it regularly, on a daily basis, so that we can estimate their wakefulness period. So regularity is necessary, not quantity. But even if quantity is not necessary, the more avid use of browsers, the more datapoints and the more reliable the estimate will be.
17-
* The user must use solely one browser, otherwise it won’t work (in the future we will merge multiple browsers’ histories).
23+
* The sleep patterns - the main measure of interest - are only very indirectly estimated, as this tool is estimating the wakefulness pattern, and even that is only partially covered since this tool analyzes internet desktop browsers histories (not whole computer usage history nor mobile nor user's activity the whole day).
24+
* The web actogram reliability depends on whether the user is an avid user of web browsers: they must use their web browsers on an almost daily basis. They do not need to use their browser all the time however, but they need to use it regularly, so that we can estimate their wakefulness period. So regularity is necessary, not quantity. But even if quantity is not necessary, the more avid use of browsers, the more datapoints and the more reliable the estimate will be.
1825
* The user must primarily use a web browser on a computer (not on a smartphone - this will be implemented in the future).
1926
* The more data over a longer period, the more precisely and robust the pattern will appear.
27+
* If there are multiple users on the same desktop computer, the result will be unreliable, as the tool will currently merge all profiles histories data in one and hence merge the usage data from different users.
2028

2129
How the actogram is plotted was inspired by [this UCSD tutorial](https://ccb.ucsd.edu/the-bioclock-studio/education-resources/basics/part2.html) and [this scientific paper](https://doi.org/10.1186/1741-7007-8-93).
2230

0 commit comments

Comments
 (0)