Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Has anyone tried building their own PSG?
#1
Has anyone tried building their own PSG?
Full-on in-lab type I polysomnography is hard to get nowadays with the take-home type III craze that insurance companies have started in the past few years. Sadly this means nobody can truly know things like what one's Arousal Index was while sleeping or how many RERAs one is having (though an educated guess can be made with CPAP) which has led me to wonder: have any of you tried to recreate a PSG in your own homes? There are plenty of commercial options available for wearable EEG devices. All you really need an EEG, nasal cannula + oral thermistor for flow, and respiratory effort belt, and pulse oximeter. Not to mention CPAPs are basically already flow measuring devices.

The hardest part is the data analysis - I'm a software engineer and been thinking of making open source PSG software.
Post Reply Post Reply
#2
RE: Has anyone tried building their own PSG?
Hi Illorum! - Welcome

I can't recall anyone presenting your idea here before but that doesn't mean much.

Seeing that you're a software engineer, I would like to see if you may be interested in joining the OSCAR development team? If so, please PM bonjour with your request and any specialty skills (e.g.: UI design, data analysis, etc.)
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
RE: Has anyone tried building their own PSG?
Illorum, interesting project. You seem to be familiar with OSCAR and my first thought is, you might want to join the development team. Your project is a natural branch of the exhisting CPAP Analysis Reporter, and part of the future development of OSCAR may be to increase compatibility to additional devices like oximeters, EEG, and even fitness watches. If you're interested in taking a closer look, and especially if you can work with any aspect of GitLab, the source code and want to hack data outputs from additional devices, your help would be welcome. Contact "bonjour" or "pholynyk" by PM.
Sleeprider
Apnea Board Moderator
www.ApneaBoard.com

____________________________________________
Download OSCAR Software
Soft Cervical Collar
Optimizing Therapy
Organize your OSCAR Charts
Attaching Files
Mask Primer
How To Deal With Equipment Supplier


INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#4
RE: Has anyone tried building their own PSG?
I've not looked at it closely myself, since I don't have the skills or time.

But I'm definitely interested as an end user, and I did look around for any existing efforts, and came across the OpenBCI and Open EEG projects. They may have software and/or hardware to build on.

I will also mention this thread, which is about integrating Dreem 2 data into OSCAR. Right now, it's only the EEG-derived hyponogram data (which is helpful), but hopefully that will expand over time.

I agree with Sleeprider, BTW; would be cool if your work could find its way into OSCAR.
Caveats: I'm just a patient, with no medical training.
Post Reply Post Reply
#5
RE: Has anyone tried building their own PSG?
This is something that interests me as well. Bitalino is worth mentioning, but they lack nasal canula/flow meter. Is there any good flow meter that is not part of a CPAP?
Post Reply Post Reply
#6
RE: Has anyone tried building their own PSG?
Polyman EDF+ seems to be an existing open source PSG software, with an attempt at automated sleep stage scoring.

It comes with a couple of sample xml files that illustrate the data schema. If you could reconstruct your own data in the same format it might be usable.

I downloaded it in the hope that it would enable me to analyse a few sample night's raw data I have from my Dreem 2 EEG headband, as I had been told that the Dreem data was in both EDF and H5 format. The H5 data is readable in both Matlab and HDFView, but the other Dreem data doesn't appear to be EDF readable.
Post Reply Post Reply
#7
RE: Has anyone tried building their own PSG?
Getting some warnings on Polyman+ when uploading to virustotal.
Post Reply Post Reply
#8
RE: Has anyone tried building their own PSG?
Your CMS device is the same one I have.
I agree w SleepRider's assessment. It is likely an unreliable reading. That said, an hour under 88% is a serious concern. You are talking to your doctor about it and that is the right thing to do. IMHO an in-lab sleep study will confirm or deny that issue assuming it occurs with consistency. You can ask your doc if he can provide an overnight O2 study (he can). If you are scheduled for a sleep study, let them know to call you if they have a cancelation. The idea is to validate your home study. Even go and try the cms again, on a different finger.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Air building up in your mouth: where does it go if you tape your mouth shut? Albigensian 14 4,246 05-30-2023, 08:42 PM
Last Post: Norman2195
  [Equipment] Building An Ultra-Light CPAP For Backpacking? Possible? fortywinks 10 1,936 03-01-2021, 04:46 PM
Last Post: hegel


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.