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
  SleepyHead not importing New data Jacobus 5 1,255 04-26-2017, 08:03 PM
Last Post: Crimson Nape
  Dreammapper versus Sleepyhead data llaage 0 173 04-06-2017, 08:54 PM
Last Post: llaage
  Cannot Transfer Data to from CMS50D or E to SleepyHead ArthurP 3 202 04-02-2017, 07:56 AM
Last Post: ArthurP
Question SleepyHead only partially parses oximeter data Wrz77 1 178 03-30-2017, 11:55 PM
Last Post: Wrz77
  Sleepyhead data/SD Card/New Machine pcplus2 1 256 03-25-2017, 09:21 AM
Last Post: Fedman
  Getting Message to Format My SD Disc SideSleeper 16 598 03-23-2017, 12:22 PM
Last Post: SideSleeper
Grin Sleepyhead Wasn't Importing Most Recent Data gamegrrl 7 322 03-15-2017, 09:48 AM
Last Post: AlanE

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.