Rapid Eye Movements Electroencephalograph
After a few nights of recording brainwaves from the NeuroSky MindWave and some advice from a cognitive scientist, I was able to write an algorithm to detect REM sleep from the raw EEG data.

Thirteen blinks can be seen in the minute featured above. They look uncannily similar to the rapid eye movements previously recorded with the halograph FM. The audio track was triggered five times throughout the night and interrupted REM sleep at least once.

Also of interest is that the attention graph tends to spike during REM sleep, when the meditation graph tends to trough.

Download entry as Lucid Scribe Data (LSD) or Comma Separated Values (CSV) or watch the video.