Scores each epoch as sleep or wake from per-epoch activity counts using the
Cole-Kripke algorithm: a weighted sum of the surrounding epochs' activity is
thresholded (D < 1 => sleep). Weights are the classic 1-minute set.
References
Cole RJ, Kripke DF, Gruen W, Mullaney DJ, Gillin JC (1992). "Automatic sleep/wake identification from wrist activity." Sleep 15:461-469.