Traditional analysis of sleep patterns requires several channel of data. This analysis can be useful for customized analysis including assessing sleep quality, detecting pathological conditions, determining the effect of medication on sleep states and identifying biomarkers, and drug dosages or reactions.