SleepyHead 0.9 beta sneak preview..

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead 0.9 beta sneak preview..

Post by archangle » Fri Jan 06, 2012 9:10 pm

Is mask pressure something S9 reports that PRS1 doesn't? I'm not seeing it.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead 0.9 beta sneak preview..

Post by jedimark » Fri Jan 06, 2012 9:43 pm

archangle wrote:Is mask pressure something S9 reports that PRS1 doesn't? I'm not seeing it.
PRS1 ASV machines have Mask Pressure.. Normal machines don't..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

cpaptex
Posts: 118
Joined: Tue Nov 15, 2011 4:18 pm

Re: SleepyHead 0.9 beta sneak preview..

Post by cpaptex » Sat Jan 07, 2012 8:21 pm

On Thursday, I got up and turned off my xpap machine and went to the restroom at 4am. I went back to bed and put back on the machine. Sleepyhead does not recognize the last session. I took the unit to the DME and they showed the last session.

I dumped all the data and reimported the data from fresh and no change.

Any ideas?
I'm getting better day by day. Few if any OA Events, mostly CAs and Hyponeas.

I have Interstital Lung Disease

User avatar
Pugsy
Posts: 65014
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead 0.9 beta sneak preview..

Post by Pugsy » Sat Jan 07, 2012 8:30 pm

cpaptex wrote:On Thursday, I got up and turned off my xpap machine and went to the restroom at 4am. I went back to bed and put back on the machine. Sleepyhead does not recognize the last session. I took the unit to the DME and they showed the last session.
How long did the last session last? Which version of SLeepyHead? There is a setting in latest version of SleepyHead that lets us disregard short sessions. With the older versions I am not sure but SH may have also had a setting to ignore short sessions. I can't remember exactly what the deal was.

Also if a file on the SD card happens to get corrupted by some odd fluke then the reports can be off for the night that the files got messed up.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

cpaptex
Posts: 118
Joined: Tue Nov 15, 2011 4:18 pm

Re: SleepyHead 0.9 beta sneak preview..

Post by cpaptex » Sat Jan 07, 2012 9:26 pm

Pugsy wrote:
cpaptex wrote:On Thursday, I got up and turned off my xpap machine and went to the restroom at 4am. I went back to bed and put back on the machine. Sleepyhead does not recognize the last session. I took the unit to the DME and they showed the last session.
How long did the last session last? Which version of SLeepyHead? There is a setting in latest version of SleepyHead that lets us disregard short sessions. With the older versions I am not sure but SH may have also had a setting to ignore short sessions. I can't remember exactly what the deal was.

Also if a file on the SD card happens to get corrupted by some odd fluke then the reports can be off for the night that the files got messed up.
The last session as 3 1/2 hours. I'm running the 8.88 Build Date 12/9/2011. Also the DME read fine the last session with no problems.
I'm getting better day by day. Few if any OA Events, mostly CAs and Hyponeas.

I have Interstital Lung Disease

User avatar
Pugsy
Posts: 65014
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: SleepyHead 0.9 beta sneak preview..

Post by Pugsy » Sat Jan 07, 2012 9:32 pm

cpaptex wrote: The last session as 3 1/2 hours. I'm running the 8.88 Build Date 12/9/2011. Also the DME read fine the last session with no problems.
Hmmm obviously it should be present. I had that one idea that was a stretch anyway. We will have to wait for Jedimark to see what he thinks may have happened. I don't have any idea what happened.

Did the DME just look at hours of use or look for more details from that time frame? Mark might wonder is why I ask because I shot my one lonely idea at you.

Mark will be around when he has a chance and see your question and try to help. I haven't had any missing sessions myself but then I don't get up at all during the night to generate one.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead 0.9 beta sneak preview..

Post by jedimark » Sun Jan 08, 2012 12:05 am

cpaptex wrote:On Thursday, I got up and turned off my xpap machine and went to the restroom at 4am. I went back to bed and put back on the machine. Sleepyhead does not recognize the last session. I took the unit to the DME and they showed the last session.

I dumped all the data and reimported the data from fresh and no change.

Any ideas?
I think this was corrected in 0.9.. I can't really remember what was in 0.8.8-4.. To me it feels like thousands of lines of code ago..

I keep finding stuff to fix.. I'm kinda trying to make this next build a little extra special, and finding a lot of bugs in code I wrote on more foggy days..

Shouldn't be too much longer..

I'm rewriting the PRS1 Flow Rate waveform parser.. (Tetragon will either be very pleased or annoyed with this. )
My initial attempt was a quick dirty hack that felt like C and not C++.
It lumped a lot of calculations into one function and was very messy.. (It did all the PRS1 Respiratory rate, Tidal volume, Minute Vent calcs, and my User flags experiments)

It should be against the law for programmers to code while foggy.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

tetragon
Posts: 539
Joined: Wed Oct 19, 2011 4:06 am
Location: Toronto, ON
Contact:

Re: SleepyHead 0.9 beta sneak preview..

Post by tetragon » Sun Jan 08, 2012 4:33 am

jedimark wrote:I'm rewriting the PRS1 Flow Rate waveform parser.. (Tetragon will either be very pleased or annoyed with this. )
Depends upon how neatly it's done. I'll reserve my opinion until I see the code, and save my alternative sampling algorithms for then.
jedimark wrote: My initial attempt was a quick dirty hack that felt like C and not C++.
It lumped a lot of calculations into one function and was very messy.. (It did all the PRS1 Respiratory rate, Tidal volume, Minute Vent calcs, and my User flags experiments)
There's nothing wrong with making the code look like it's in a nicely readable language, as opposed to C++. Have you any idea what sort of casting nightmares I had to endure because of the operator overload overload that takes place in some libraries (like vxl)?

_________________
Mask: AirFit™ P10 For Her Nasal Pillow CPAP Mask with Headgear
Additional Comments: Software: SleepyHead, loosely following HEAD

User avatar
máirtín
Posts: 254
Joined: Sat Apr 30, 2011 12:01 pm
Location: California Ó Thuaidh; Montsoreau, 49730

Re: SleepyHead 0.9 beta sneak preview..

Post by máirtín » Sun Jan 08, 2012 1:01 pm

Hi jediMark:

Thank you (and Jimbo) for all the work you have put into this project. I know that it started as a way for you yourself to track your therapy but it is already helping many more people.
I am using the latest build of the Mac version (v0.9.0 (beta)
Build Date: Dec 22 2011 11:42:23) to keep track of my S9 ASV. I have some observations that I hope are helpful:

I am a Mac user, always have been, so I am looking for an application that is very easy to use and requires minimal skill set learning. I know that SH is not even in beta yet and therefore lacks many of the features that I expect in a fully developed program. But the aspects of SH I've seen so far suggest that the basic navigation of the program is not very different from the very difficult to use ResScan software. This morning, it took me more than 20 minutes to scroll through the flow graph to find possible problems. It should be easier to scroll through the graphical information (8 hours of data is a looooong graph). I know nothing about programming - I have no idea how difficult that might be to implement. Something else that could be helpful: a GoTo or JumpTo feature that finds the next event in the graph (I am specifically looking for subclinical apneas - events of less than 10 seconds duration that are disrupting my sleep)
For me, more different kinds of data is not necessarily important. What I need is a better way to access and understand the data and be able to show to my doctor what I am talking about when I say that despite a consistent AHI of 0.0 I don't think this treatment is working.

Thank you again for your hard work. There are a lot of us out there who appreciate your efforts.

_________________
Mask: Mirage Quattro™ Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: I have a Resmed S9 ASV
"Bheadh sé chomh maith agat a rá," a dúirt an Luch Chodlamáin féin, "gurb ionann 'Codlaím nuair a análaím' agus 'Análaím nuair a chodlaím'!"

User avatar
Gerald?
Posts: 230
Joined: Wed Jun 16, 2010 4:44 pm
Location: Brisbane, Australia

Re: SleepyHead 0.9 beta sneak preview..

Post by Gerald? » Sun Jan 08, 2012 6:57 pm

jedimark wrote:It should be against the law for programmers to code while foggy.
Back in the dark, dark days when I coded, for foggy (or drunk while at Uni) coding we had a protocol called "Green code".

For coding done at times of weakness font colour was changed to green. Then you or any of your programming team would be well aware that if there was a problem with the code they could just change it without wasting hours trying to figure out why the hell you did it....

_________________
Mask: TAP PAP Nasal Pillow CPAP Mask with Improved Stability Mouthpiece
Additional Comments: Software: Sleepyhead

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead 0.9 beta sneak preview..

Post by jedimark » Sun Jan 08, 2012 7:47 pm

máirtín wrote:Hi jediMark:

Thank you (and Jimbo) for all the work you have put into this project. I know that it started as a way for you yourself to track your therapy but it is already helping many more people.
I am using the latest build of the Mac version (v0.9.0 (beta)
Build Date: Dec 22 2011 11:42:23) to keep track of my S9 ASV. I have some observations that I hope are helpful:

I am a Mac user, always have been, so I am looking for an application that is very easy to use and requires minimal skill set learning. I know that SH is not even in beta yet and therefore lacks many of the features that I expect in a fully developed program. But the aspects of SH I've seen so far suggest that the basic navigation of the program is not very different from the very difficult to use ResScan software. This morning, it took me more than 20 minutes to scroll through the flow graph to find possible problems. It should be easier to scroll through the graphical information (8 hours of data is a looooong graph). I know nothing about programming - I have no idea how difficult that might be to implement. Something else that could be helpful: a GoTo or JumpTo feature that finds the next event in the graph (I am specifically looking for subclinical apneas - events of less than 10 seconds duration that are disrupting my sleep)
For me, more different kinds of data is not necessarily important. What I need is a better way to access and understand the data and be able to show to my doctor what I am talking about when I say that despite a consistent AHI of 0.0 I don't think this treatment is working.

Thank you again for your hard work. There are a lot of us out there who appreciate your efforts.
I think it would probably help if I documented the mouse control stuff.. There's a lot of combo stuff I never really mentioned to anyone..

Try clicking on the graphs and then using the left/right cursor keys to scroll, and don't forget the events tab in Daily view.. anything interesting is already flagged and can be quickly accessed from the events list.

If you hold down control key while zooming in/out with the mouse, or scrolling with the cursor keys, the operation will be accelerated.. Also if you hold in control you can use the mouse wheel to zoom.

Left click and drag selects an area to look at..

If you right click and drag over the Event Flags, it allows you to slide the current selected window over the entire days data. Very quick way to get an overview.
(Event Flags is a "control graph" that always shows the entire days data)

Not trying to brag here, but I don't think there is any software with easier to browse waveforms that SleepyHead.. :-}

But then again, there's always room for improvement.. If you have any specific ideas on what you feel is lacking, let me know.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
Breathe Jimbo
Posts: 954
Joined: Sun Sep 12, 2010 3:02 pm
Location: Pasadena, CA

Re: SleepyHead 0.9 beta sneak preview..

Post by Breathe Jimbo » Sun Jan 08, 2012 7:49 pm

máirtín wrote:It should be easier to scroll through the graphical information (8 hours of data is a looooong graph). I know nothing about programming - I have no idea how difficult that might be to implement. Something else that could be helpful: a GoTo or JumpTo feature that finds the next event in the graph (I am specifically looking for subclinical apneas - events of less than 10 seconds duration that are disrupting my sleep)
For the reported events, see the Events tab on the left side of the Daily window. After you expand the events list, you can go to a specific event by clicking on it in the list on the left. You can also set how wide the selection is, i.e. how much of a time slice you see.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Since 9/9/10; 13 cm; ResScan 3.16; SleepyHead 0.9; PapCap

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead 0.9 beta sneak preview..

Post by jedimark » Sun Jan 08, 2012 7:52 pm

Gerald? wrote:
jedimark wrote:It should be against the law for programmers to code while foggy.
Back in the dark, dark days when I coded, for foggy (or drunk while at Uni) coding we had a protocol called "Green code".

For coding done at times of weakness font colour was changed to green. Then you or any of your programming team would be well aware that if there was a problem with the code they could just change it without wasting hours trying to figure out why the hell you did it....
Damn.. That would be awesome.. I wish my editor could visually show git revision data. I'd tag all the crummy code and avoid half these headaches.

Problem is when I'm foggy, I'd never remember to do it..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

LarryTPost
Posts: 2
Joined: Thu Jan 05, 2012 7:52 pm

Re: SleepyHead 0.9 beta sneak preview..

Post by LarryTPost » Sun Jan 08, 2012 8:24 pm

jedimark wrote:
archangle wrote:Is mask pressure something S9 reports that PRS1 doesn't? I'm not seeing it.
PRS1 ASV machines have Mask Pressure.. Normal machines don't..
I have had my PR BiPAP autoSV Advanced System One for 8 days now and have reviewed the reduced data in SleepyHead software for each day of use. Of the 8 days of data, one day has partial data with no mask pressure and two days have (looks like) full data but no Mask Pressure.

Coincidentally (or not) the partial data occured on New Year's eve. Maybe a hiccup in my machine or a year end rollover issue?

As an aside, when I found out what machine I was getting, I looked for software for analyzing the recorded data. What a relief to find SleepyHead! Thanks for your continuing effort.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: "Graduated" to ASV from a CPAP