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

Location/Format of SleepyHead Data
#1
My husband is using SleepyHead on a Mac. He would like to import the data from his Oximeter that is stored in SleepyHead into Mathematica so he can do further statistical analysis on his nightly data.

Can you tell me where to find the SleepyHead data documentation such as formats and location? I am a retired software engineer and he is an enginer who also understands programming stuff.

I did look at the Wiki and SourceForge websites and could not find detailed enough information.

Thank you in advance.
Post Reply Post Reply
#2
.
Can any mac users help TillerBee?
.
DeepBreathing
Apnea Board Moderator
www.ApneaBoard.com


Bed

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
(03-26-2016, 02:54 PM)TillerBee Wrote: My husband is using SleepyHead on a Mac. He would like to import the data from his Oximeter that is stored in SleepyHead into Mathematica so he can do further statistical analysis on his nightly data.

Can you tell me where to find the SleepyHead data documentation such as formats and location? I am a retired software engineer and he is an enginer who also understands programming stuff.

I did look at the Wiki and SourceForge websites and could not find detailed enough information.

Thank you in advance.
With the Mac client, you can find the datastorage location by looing at the "Select Profile" window which pops up. -- At the bottom is a window labled "Folder:" with the file name/path.

I believe, the raw SleepyHead data you are looking for (assuming you are using v0.9.8-1 testing)
is stored in ~/Documents/SleepHeadData-Testing/Profiles/<name>/<machine>/Events

or psossibly in:
~/Documents/SleepHeadData-Testing/Profiles/<name>/<machine>/Backup/DATALOG/<year>

I don't use an Oximeter, so there is probably a separate folder for the data from that device, but I do not know.

As far as documentation -- there isn't any that I know of. . . except for the fact that the Source Code is available over at SourceForge Smile.

https://sourceforge.net/projects/sleepyhead/files/
Bill Magill
Retired computing and networking professional
(ARPAnet, Unix and Mac OSX)
"People assume that time is a strict progression of cause to effect,
but actually — from a non-linear, non-subjective viewpoint —
it's more like a big ball of wibbly-wobbly... timey-wimey... stuff."
The Doctor
Post Reply Post Reply


#4
(03-28-2016, 08:19 AM)whmagill Wrote: As far as documentation -- there isn't any that I know of. . . except for the fact that the Source Code is available over at SourceForge Smile.

https://sourceforge.net/projects/sleepyhead/files/

Sigh. Just went to check out Source Forge, and apparently JediMark has removed both the binaries and source for all versions of the Mac client.
. . . Or at least they are not obvious.

He is apparently "updating" the GPL (or whatever) license because of some clown who started selling a CD of his code plus the info on this forum for $50. See his blog for details:
https://www.jedimark.net/node/5

Bill Magill
Retired computing and networking professional
(ARPAnet, Unix and Mac OSX)
"People assume that time is a strict progression of cause to effect,
but actually — from a non-linear, non-subjective viewpoint —
it's more like a big ball of wibbly-wobbly... timey-wimey... stuff."
The Doctor
Post Reply Post Reply
#5
I'm not familiar with Mac but if that version has the same Help > About as Widows you can find the location of the data folder there.


Using FlashAir W-03 SD card in machine. Access through wifi with FlashPAP or Sleep Master utilities.

I wanted to learn Binary so I enrolled in Binary 101. I seemed to have missed the first four courses. Big Grinnie

Post Reply Post Reply
#6
(03-28-2016, 12:40 PM)AlanE Wrote: I'm not familiar with Mac but if that version has the same Help > About as Widows you can find the location of the data folder there.
Yes it does. The About function is the same on the Mac. It is available after the user's Profile has been selected.

I'm just more familiar with the "Select Profile" screen simply because it pops-up every time I launch SleepyHead.
Bill Magill
Retired computing and networking professional
(ARPAnet, Unix and Mac OSX)
"People assume that time is a strict progression of cause to effect,
but actually — from a non-linear, non-subjective viewpoint —
it's more like a big ball of wibbly-wobbly... timey-wimey... stuff."
The Doctor
Post Reply Post Reply


#7
The oximetry data is stored under SleepyHeadData-Testing->Profile->Your User Name->OximeterModel with hex code. There are 2 directories here; 1. Events and 2. Summaries. The data in the Events directory has a ".001" extension and the data in the Summaries directory carries a ".000" extension. Both file types are stored in a binary form. I would suggest that you download the SleepyHead source code and look at the code that is used to read and write these files.

Sorry I'm not of any further help.
Post Reply Post Reply
#8
(03-28-2016, 08:32 AM)whmagill Wrote:
(03-28-2016, 08:19 AM)whmagill Wrote: As far as documentation -- there isn't any that I know of. . . except for the fact that the Source Code is available over at SourceForge Smile.

https://sourceforge.net/projects/sleepyhead/files/

Sigh. Just went to check out Source Forge, and apparently JediMark has removed both the binaries and source for all versions of the Mac client.
. . . Or at least they are not obvious.

https://sourceforge.net/p/sleepyhead/cod...ster/tree/

source and compiled packages (files) are in different places.
Post Reply Post Reply
#9
Going forward, it might be easier to save the oximeter data to disk in its native format and then let Sleepyhead import it rather than connecting the oximeter directly to Sleepyhead. The Sleepyhead developer, Mark Watkins, documented the Contec CMS50 series data format here: (Scroll to his last post on 2014-06-30.)

https://sourceforge.net/p/sleepyhead/bugs/207/
Post Reply Post Reply




Possibly Related Threads...
Thread Author Replies Views Last Post
  Problems importing data on new sleepyhead installation AussiePaul 32 376 02-22-2017, 11:54 AM
Last Post: TBMx
  Can't find my SleepyHead Data on my PC! SleepyZ 10 280 02-04-2017, 08:41 PM
Last Post: SleepyZ
  Can you transfer computer data (Rescan or Sleepyhead) back to a SD Card? calcuttaman 6 252 01-26-2017, 08:33 AM
Last Post: AlanE
  Sleepyhead & Phillips Respironics Leak Data Bart70 8 388 01-14-2017, 07:41 AM
Last Post: pupcamper
  Help with Sleepyhead and Data Johnboy 5 345 01-09-2017, 06:16 PM
Last Post: sonicboom
  Import S+ sleep state data into SleepyHead HZone 1 184 12-31-2016, 04:45 PM
Last Post: AlanE
  Remove SP02 data from Sleepyhead Cranberry Ray 2 176 12-30-2016, 07:29 PM
Last Post: Cranberry Ray

Forum Jump:

New Posts   Today's Posts




About Apnea Board

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

For any more information, please use our contact form.