Sleep phase segmentation example
This is example of use K-meas segmentation used on sleep data.
Data file data.csv.tar.bz2 Data I've found here: https://physionet.org/pn4/sleep-edfx/
It originaly was used in this paper: Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE. PhysioBank, PhysioToolkit, and PhysioNet: Components of a New Research Resource for Complex Physiologic Signals. Circulation 101(23):e215-e220 [Circulation Electronic Pages; http://circ.ahajournals.org/cgi/content/full/101/23/e215]; 2000 (June 13).
It is raw EEG data from one electrode from one polysomnogram. I've converted and restricted data to simplyfy code.
License of source code: http://www.gnu.org/licenses/lgpl-3.0.txt