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

Is there a way to enter Sleep Stage data into OSCAR manually?
#1
Is there a way to enter Sleep Stage data into OSCAR manually?
I notice in the OSCAR preferences there is a waveform for Sleep Stage.

I have a fitbit which does a pretty good job of figuring out sleep stages, but the user interface to get the data is moronic. (If I go to my fitbit account in the web interface and bring up the graph, it shows a picture. If I mouse-over various segments on the graph then little boxes pop up showing the sleep stage and a beginning time and ending time. There is no way to download that data -- the only thing that Fitbit will give you in a download is the fraction of the night that you spent in each sleep stage.) While it would be tedious, it would be straightforward to transcribe that data into a text file.

If I were to do such a thing, is there any user interface to suck sleep-stage data from a text file and get it into OSCAR? I can see that under the OSCAR->Data->Import Zeo/Dreem/Somnopose Data menu items OSCAR seems to want to load in CSV files. Can someone tell me the expected format and  I will try to dummy up a CSV file by hand?
Post Reply Post Reply
#2
RE: Is there a way to enter Sleep Stage data into OSCAR manually?
I suggest downloading the OSCAR code and look at the oscar/SleepLib/loader_plugins/somnopose_loader.cpp file.
Crimson Nape
Apnea Board Moderator
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: Is there a way to enter Sleep Stage data into OSCAR manually?
Somnopose is currently the simplest format to generate. OSCAR <= 1.2.0 requires columns timestamp, orientation and inclination (this will change in later versions to make this more flexible). Zeo and Dreem have a single row for each sleep session with a hypnogram column that has a sleep stage value for each 30 second epoch in the session. See this post for some examples (note that the Dreem sleep stage reporting changed from numbers to names as per this note, and names is what OSCAR expects in the Dreem loader).
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSCAR Vs device data Siva 1 66 04-17-2024, 12:44 PM
Last Post: G. Szabo
  Oscar "No Supported Data Found" Resmed Airsense 11 cpapmj 3 87 04-13-2024, 10:21 PM
Last Post: Crimson Nape
  OSCAR import of Viatom/Wellue data - DST time base SleeperAwake21 5 925 03-30-2024, 02:21 PM
Last Post: dfunk
  OSCAR not recognising SD card data from BMC alid 7 270 03-30-2024, 12:44 AM
Last Post: alid
Question OK TO IMPORT SLEEP DATA FROM OLD SD CARD INTO OSCAR W/O MESSING UP CURRENT DATA? Plmnb 3 243 03-29-2024, 11:02 AM
Last Post: Plmnb
  Uploading Wellue O2 Ring Data to Oscar ggs5 9 904 03-29-2024, 08:52 AM
Last Post: StuartC
  Trouble importing data to Oscar bubbafoxus 2 219 03-22-2024, 05:40 PM
Last Post: bubbafoxus


New Posts   Today's Posts


About Apnea Board

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