CircaCP - Sleep and Circadian Metrics Estimation from Actigraphy Data
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.