Hacker News new | ask | show | jobs
by pareidolia 1881 days ago
Have you ever done a sleep study for sleep-breathing disorders (SDB) ?
1 comments

Sorry for the delayed response. I have done a sleep study, because I have severe restless legs syndrome (which is not benign--it really can be terrible) and periodic limb movement disorder, because of it.

So, in the middle of the night, my limbs jerk and it affects my sleep quality. So, I also have a surface EMG (electromyography) sensor connected to my leg when I sleep. I use a Bitalino [1] to record it. I share this info with my neurologist.

All of the sensors I use (I use other ones during the day to detect stress and affect using AI--I recreated the peer-reviewed journal articles in code) interface using LabStreamingLayer (LSL), which makes coding easy. Even the OpenBCI board uses LSL. It basically is a streamlined way of dealing with data from these devices.

A lot of the code in general that is posted on GitHub interfaces with LSL, so you search on like DuckDuckGo.com for like:

* "LSL" AND "EEG" site:github.com

* "LabStreamingLayer" AND "EEG" site:github.com

Anyways, you can find all sorts of interesting programs, including neurofeedback. But, you have to be good with coding and also Linux to use it. They even have code that interfaces with LSL that does LORETA scoring for neurofeedback, which is very therapeutic and useful. But, you want the 16 channel OpenBCI device to do this.

[1] https://plux.info/kits/38-bitalino-revolution-plugged-ble-81...