DPSleep: Open-Source Longitudinal Sleep Analysis From Accelerometer Data
Habiballah Rahimi-EichiiD, Garth CoombsiD, Constanza M. Vidal BustamanteiD, Jukka-Pekka “JP” OnnelaiD, Justin Taylor BakeriD, Randy L. BuckneriD
Abstract
Wearable devices are now widely available to collect continuous objective behavioral data from individuals and to measure sleep. Here we introduce a pipeline to infer sleep onset, duration, and quality from raw accelerometer data and then quantify relationships between derived sleep metrics and other variables of interest. The pipeline released here for the deep phenotyping of sleep, as the "DPSleep" software package, uses (a) a stepwise algorithm to detect missing data; (b) within-individual, minute-based, spectral power percentiles of activity; and (c) iterative, forward- and backward-sliding windows to estimate the major Sleep Episode onset and offset. Software modules allow for manual quality control adjustment of derived sleep features and correction for time zone changes. In this report, we illustrate the pipeline with data from participants studied for more than 200 days each. Actigraphy-based measures of sleep duration are associated with self-report rating of sleep quality. Simultaneous measures of smartphone use and GPS location data support the validity of the sleep timing inferences and reveal how phone measures of sleep timing can differ from actigraphy data. We discuss the uses of DPSleep in relation to other available sleep estimation approaches and provide example use cases that include multi-dimensional, deep longitudinal phenotyping, extended measurement of dynamics associated with mental illness, and the possibility of combining wearable actigraphy and personal electronic device data (e.g., smartphone, tablet) to measure individual differences across a wide range of behavioral variation in health and disease.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 26
- FWCI
- 2.90
- Field percentile
- top 10%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- PennZzz - an algorithm for estimating behavioral states from wrist-worn accelerometery
Richard McCloskey, Matthew H. Goodman, … Maja Bućan·bioRxiv·Jun 15, 2018
- Validation of the Munich Actimetry Sleep Detection Algorithm for estimating sleep-wake patterns from activity recordings
Ann-Sophie Loock, Ameena Khan Sullivan, … Eva C. Winnebeck·Journal of Sleep ResearchPeer-reviewed·May 7, 2021
- A Personalized and Adaptive Distribution Classification of Actigraphy Segments into Sleep-Wake States
A. Vandegriffe, V. A. Samaranayake, M. Thimgan·bioRxiv·Aug 8, 2023
- Capturing sleep-wake cycles by using day-to-day smartphone touchscreen interactions
J. N. Borger, R. Huber, A. Ghosh·bioRxiv·Nov 27, 2018
- Beacon-based sleep status and physical activity monitoring in humans.
T. Kikusui, M. Yagisawa, … M. Nagasawa·bioRxiv·Oct 30, 2023
- SleepEEGpy: a Python-based software 'wrapper' package to organize preprocessing, analysis, and visualization of sleep EEG data
Gennadiy Belonosov, Rotem Falach, … Yuval Nir·bioRxiv·Dec 17, 2023