Sleep and Circadian Metrics Estimation from Actigraphy Data
CircaCP: Actigraphy Import, Screening, and Circadian Metrics
Detect a single change point (parametric methods)
Nonparametric circadian metrics (RA, IS, IV, L5, M10)
Extract metrics related to sleep and circadian rhythm after using Circ...
Extract contiguous sleep or wake periods from a labeled minute series
Import actigraphy with header stripping and harmonized Activity
Screen wear and extract the longest valid minute-level segment
Estimates circadian cycle by cosinor fit of minute-level activity (per...
Estimate precise sleep_wake cycles using CircaCP algorithm
A generic sleep–wake cycle detection algorithm for analyzing unlabeled actigraphy data. The algorithm has been validated against event markers using data from the Multi-Ethnic Study of Atherosclerosis (MESA) Sleep study, and its methodological details are described in Chen and Sun (2024) <doi:10.1098/rsos.231468>. The package provides functions to estimate sleep metrics (e.g., sleep and wake onset times) and circadian rhythm metrics (e.g., mesor, phasor, interdaily stability, intradaily variability), as well as tools for screening actigraphy quality, fitting cosinor models, and performing parametric change point detection. The workflow can also be used to segment long actigraphy sequences into regularized structures for physical activity research.