SleepyHead 0.9 beta sneak preview..

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
Lizistired
Posts: 2835
Joined: Tue Dec 14, 2010 10:47 pm
Location: Indiana

Re: SleepyHead 0.9 beta sneak preview..

Post by Lizistired » Wed Dec 28, 2011 9:11 am

jedimark wrote:
Lizistired wrote:Is there a way to add "EPR/FLEX setting" to the changes to prescription settings?
My machine has three modes (+off) of pressure relief, each mode having 4 levels. I'm not sure if EPR is similar.

Adding the modes is definitely a good idea, as the user "can't" change this without alter prescription settings.

As for the levels I'm not sure, as it's usually user adjustable. It will make the list rather long, and will dilute the results quite a bit.

There doesn't seem much point to me comparing single days worth of data, which is why I added the threshold here to ignore them in the best/worst RX calculations.
EPR is the same, off, 1, 2, 3.
Odd thing is sleepyhead shows my EPR as being 2 everyday, but it is turned off.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Swift FX sometimes, CMS-50F, Cervical collar sometimes, White noise, Zeo... I'm not well, but I'm better.

User avatar
Perrybucsdad
Posts: 834
Joined: Mon Sep 12, 2011 7:09 am
Location: Northeast Ohio

Re: SleepyHead 0.9 beta sneak preview..

Post by Perrybucsdad » Wed Dec 28, 2011 10:40 am

jedimark wrote:
Perrybucsdad wrote:I could have sworn I saw that I saw 0.9 on SourceForge last night, or was I dreaming?
Mac users sorta have a rough early version.. It's missing heaps of stuff though..

It's an unofficial release. My best advice for mac users is to wait.. (or build from source )
It would have been for Windows, that's okay, I must have been seeing things. It was the Green "Download" box that I thought said 0.9. Oh well, I'll wait. When do you think it will be posted for windows?

Mark, how does the Best/worst readings work for the rx? Do you manually have to enter the Rx, or does it pick it up automatically from the data? I have something similar in my tracking program that reads from the data and I just love the inclusion of this feature. I'm sure it will be something that will be debated, but it is for informational purposes only.

One other question, will you at anytime be including the "Comments" that are entered on the daily page in the daily report? If you capture the comments in the program, you should also allow them to be printed.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: ResScan v5.9; Sleepyhead v1.0.0-beta

MarcusCicero
Posts: 6
Joined: Wed Nov 16, 2011 9:22 pm

Re: SleepyHead 0.9 beta sneak preview..

Post by MarcusCicero » Wed Dec 28, 2011 1:21 pm

Looks great, Mark. I'm brand new to all this. Only been using my machine and SleepyHead software for 5 days now.

If I may ask (question is not about this beta version, which looks great, but rather about v0.8., in the "Daily" view, in the "Details" tab, the orange tab for AHI shows 6.73, whereas just below that (below the pie-chart breakdown) it has AHI/Hr of 4.47. How come they are showing different numbers, since I thought both would reflect AHI? Which one is my true AHI? Thanks in advance.

_________________
Mask: Mirage Quattro™ Full Face CPAP Mask with Headgear
Additional Comments: Sleepyhead software

User avatar
Perrybucsdad
Posts: 834
Joined: Mon Sep 12, 2011 7:09 am
Location: Northeast Ohio

Re: SleepyHead 0.9 beta sneak preview..

Post by Perrybucsdad » Wed Dec 28, 2011 1:33 pm

MarcusCicero wrote:Looks great, Mark. I'm brand new to all this. Only been using my machine and SleepyHead software for 5 days now.

If I may ask (question is not about this beta version, which looks great, but rather about v0.8., in the "Daily" view, in the "Details" tab, the orange tab for AHI shows 6.73, whereas just below that (below the pie-chart breakdown) it has AHI/Hr of 4.47. How come they are showing different numbers, since I thought both would reflect AHI? Which one is my true AHI? Thanks in advance.
I've noticed that too, and it may be due to how he is doing the average. I wonder if it is the average of the hourly average. I have verified the events in the event tabe against the total time of sleep and the orange AHI is correct and that is what I look at.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: ResScan v5.9; Sleepyhead v1.0.0-beta

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 » Wed Dec 28, 2011 1:57 pm

Lizistired wrote:
jedimark wrote:
Lizistired wrote:Is there a way to add "EPR/FLEX setting" to the changes to prescription settings?
My machine has three modes (+off) of pressure relief, each mode having 4 levels. I'm not sure if EPR is similar.

Adding the modes is definitely a good idea, as the user "can't" change this without alter prescription settings.

As for the levels I'm not sure, as it's usually user adjustable. It will make the list rather long, and will dilute the results quite a bit.

There doesn't seem much point to me comparing single days worth of data, which is why I added the threshold here to ignore them in the best/worst RX calculations.
EPR is the same, off, 1, 2, 3.
Odd thing is sleepyhead shows my EPR as being 2 everyday, but it is turned off.
I mixed up the EPR and EPRSet values.. It's fixed now in source. The 2 Means "Full Time" (unless it's the other EPR setting for CPAP mode, with Medium or Fast)

_________________
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
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 » Wed Dec 28, 2011 2:01 pm

MarcusCicero wrote:Looks great, Mark. I'm brand new to all this. Only been using my machine and SleepyHead software for 5 days now.

If I may ask (question is not about this beta version, which looks great, but rather about v0.8., in the "Daily" view, in the "Details" tab, the orange tab for AHI shows 6.73, whereas just below that (below the pie-chart breakdown) it has AHI/Hr of 4.47. How come they are showing different numbers, since I thought both would reflect AHI? Which one is my true AHI? Thanks in advance.
AHI / Hr is a completely different measurement.. It represents the average AHI of a sliding 1 hour window over the data.. To lessen confusion, it probably should not show in the averages underneath..

The top one is the right one to look at..

_________________
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

MarcusCicero
Posts: 6
Joined: Wed Nov 16, 2011 9:22 pm

Re: SleepyHead 0.9 beta sneak preview..

Post by MarcusCicero » Wed Dec 28, 2011 2:32 pm

jedimark wrote: AHI / Hr is a completely different measurement.. It represents the average AHI of a sliding 1 hour window over the data.. To lessen confusion, it probably should not show in the averages underneath..

The top one is the right one to look at..
Thanks, Mark.

_________________
Mask: Mirage Quattro™ Full Face CPAP Mask with Headgear
Additional Comments: Sleepyhead software

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 01, 2012 3:16 am

Sorry all for the delay with the beta... I've decided to try make sure I get a few things right first with VPAP/BIPAP stuff, plus I want to make some decent improvements to the Intellipap loader, which is still very young.

Thanks to an awesome gesture of support from of this forums host, I've now got a nice shiny Intellipap Auto to play with, so nailing decent support for this machine has just been made IMMENSELY easier.. Thanks very much Johnny & co - You guys rock!

I have a couple of new improvements to report on the ResMed front:

I've made the ResMed importer grab the summary data from the STR.edf, for dates where there is no EDF files, giving for those days at least some useful overview graphs.. (AHI, Session Times, Usage, Leaks & Pressure, plus more for the fancier machines) plus statistics page data... There won't be any daily graphs though.. I'm not sure if this will apply to "brick" machines like the Escape(?), I really need to see what info these 'bricks' store.

I've also made SleepyHead maintain a SD card backup for ResMed users. Every time you import, it will copy any new EDF data into it's backup folder, kept in the same layout as the SD card. I will extend this to other machines later, although they are not as critical, as they don't routinely eat older data like the ResMed's.

Now, I have a couple of BIPAP / VPAP / VPAP/ST / ASV Questions you may be able to help me with.. I've probably asked this before, but I was way too foggy for any of it to sink in. (Forgive me if any of you have explained this to me before, I really am a little slow sometimes.)

Does EPAP on any of these machines types vary, or is it set to a constant? If it varies, what determines the range? I'm assuming for BIPAP the Pressure Support is constant distance between EPAP & IPAP.. but what happens on ASV or ST machines where IPAP is variable? Does EPAP remain constant then?

What are the most important statistics to show for a line in the prescription changes table?
For example, for BIPAP it shows a table containing the date range, number of data days, AHI, EPAP, IPAP, EPAP 95%, IPAP 95%

(Flex/EPR types will be added to this list soon, I haven't forgotten.)

Can the Respiratory Rate be set on any of these machines, or is it guessed? There is a field in the STR.edf file called 'RR' which doesn't match the summary Respiratory Rate data..

What is Easy-Breathe on VPAP machines? Is it a pressure relief setting? Can it coexist with EPR?

Is there different kinds of BiFlex on PRS1 BIPAP/ASV machines?

/Mark

_________________
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

FarmGirl
Posts: 37
Joined: Thu Dec 29, 2011 2:18 pm
Location: KS

Re: SleepyHead 0.9 beta sneak preview..

Post by FarmGirl » Sun Jan 01, 2012 5:59 am

jedimark wrote:
Lizistired wrote:
jedimark wrote:
Lizistired wrote:Is there a way to add "EPR/FLEX setting" to the changes to prescription settings?
My machine has three modes (+off) of pressure relief, each mode having 4 levels. I'm not sure if EPR is similar.

Adding the modes is definitely a good idea, as the user "can't" change this without alter prescription settings.

As for the levels I'm not sure, as it's usually user adjustable. It will make the list rather long, and will dilute the results quite a bit.

There doesn't seem much point to me comparing single days worth of data, which is why I added the threshold here to ignore them in the best/worst RX calculations.
EPR is the same, off, 1, 2, 3.
Odd thing is sleepyhead shows my EPR as being 2 everyday, but it is turned off.
I mixed up the EPR and EPRSet values.. It's fixed now in source. The 2 Means "Full Time" (unless it's the other EPR setting for CPAP mode, with Medium or Fast)
I've noticed a similar reading for the data on my machine..... SleepyHead readout gives my c-flex as 1 when in reality it is set at 3.

_________________
Mask: Swift™ FX For Her Nasal Pillow CPAP Mask with Headgear
Additional Comments: SleepyHead v0.8.8

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 01, 2012 7:13 am

FarmGirl wrote:I've noticed a similar reading for the data on my machine..... SleepyHead readout gives my c-flex as 1 when in reality it is set at 3.
I know that jedimark fixed an issue that caused this back on 2011-12-17, which is when I last pulled (gotta stop git from chomping on my sampling experiments). How recent is your copy?

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

cflame1
Posts: 3312
Joined: Sat Mar 11, 2006 6:55 am
Location: expat Canadian in Kentucky

Re: SleepyHead 0.9 beta sneak preview..

Post by cflame1 » Sun Jan 01, 2012 8:46 am

jedimark wrote: Does EPAP on any of these machines types vary, or is it set to a constant? If it varies, what determines the range? I'm assuming for BIPAP the Pressure Support is constant distance between EPAP & IPAP.. but what happens on ASV or ST machines where IPAP is variable? Does EPAP remain constant then?
I can tell you that the EPAP on mine varies... the PS on the Respironics is the maximum amount of the split between the IPAP and EPAP. The Resmed I'm told reacts differently.
jedimark wrote: Is there different kinds of BiFlex on PRS1 BIPAP/ASV machines?
Not on an Auto Bipap... just 0 thru 5 with 0 being off.

dnrperez
Posts: 25
Joined: Tue Nov 08, 2011 2:33 pm
Location: San Antonio, TX

Re: SleepyHead 0.9 beta sneak preview..

Post by dnrperez » Sun Jan 01, 2012 9:19 am

I know I brought this up in another thread on page 15, but want to ask for it again. On the daily report a section to show any notes from the that day. I have started to log in events etc on how i slept and how I feel in addition to the zombie reading(which I love by the way). But I am a new user and still trying to fine tune my set up, and have found that having those notes help me, and maybe a Dr will want to see or not.

Thanks,

Rich

_________________
Mask
Additional Comments: Sleepyhead Software
Rich

"Its not a matter of IF,
But who, when and where..." - Unk

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 01, 2012 11:11 am

dnrperez wrote:I know I brought this up in another thread on page 15, but want to ask for it again. On the daily report a section to show any notes from the that day. I have started to log in events etc on how i slept and how I feel in addition to the zombie reading(which I love by the way). But I am a new user and still trying to fine tune my set up, and have found that having those notes help me, and maybe a Dr will want to see or not.

Thanks,

Rich
Thanks for the reminder.. I think everybody is getting to know how easily I forget stuff

I have just added the journal notes and weight/bmi/zombie to daily reports.. you will see them in the upcoming beta..

_________________
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
robysue
Posts: 7520
Joined: Sat Sep 18, 2010 2:30 pm
Location: Buffalo, NY
Contact:

Re: SleepyHead 0.9 beta sneak preview..

Post by robysue » Sun Jan 01, 2012 1:38 pm

jedimark wrote: Now, I have a couple of BIPAP / VPAP / VPAP/ST / ASV Questions you may be able to help me with.. I've probably asked this before, but I was way too foggy for any of it to sink in. (Forgive me if any of you have explained this to me before, I really am a little slow sometimes.)

Does EPAP on any of these machines types vary, or is it set to a constant? If it varies, what determines the range? I'm assuming for BIPAP the Pressure Support is constant distance between EPAP & IPAP.. but what happens on ASV or ST machines where IPAP is variable? Does EPAP remain constant then?
My answers are for the PR BiPAP Auto---when run in both "fixed" mode and "auto" mode and with Bi-Flex turned OFF. (See the note about Bi-Flex at the end of this discussion.)

Fixed Mode with no RAMP: If you don't use the ramp feature, then EPAP and IPAP should both be constants.

Fixed Mode with a RAMP: If you DO use the ramp, then starting EPAP = ramp setting (default is 4cm) and starting IPAP = starting EPAP + 2. Both EPAP and IPAP ramp up to the full setting in a linear fashion I believe. But since the IPAP setting is typically greater than EPAP+2, that means that the IPAP line is steeper than the EPAP line. So during the ramp period, the PS = IPAP-EPAP is not a constant: PS starts at 2cm and ends at IPAP-EPAP. So we get the following ranges:
  • Ramp setting <= EPAP <= Set EPAP pressure duing ramp time; EPAP = Set EPAP once the ramp is over.
  • Ramp setting + 2 <= IPAP <= Set IPAP pressure duing ramp time; IPAP = Set IPAP once the ramp is over.
Important note about PS on the PR System One BiPAP machines. When running in AUTO mode, the PS on the PR BiPAP Auto is NOT a constant. The machine's PS setting is the maximum distance allowed between EPAP and IPAP; the minimum distance allowed between EPAP and IPAP is equal to 2cm. In other words, when a PR BiPAP is running in Auto mode, we get
  • 2 <= actual PS <= PS setting on machine where actual PS = IPAP - EPAP at the current time.

AUTO mode with no RAMP: At the beginning of the night, EPAP=min EPAP and IPAP = min EPAP + 2. The two pressures are largely allowed to vary independent of each other. So without a RAMP, the pressure ranges are as follows:
  • min EPAP <= EPAP <= max IPAP - 2
  • min EPAP + 2 <= IPAP <= max IPAP
AUTO mode with a RAMP: Just like in Fixed mode, EPAP starts out at the ramp setting and IPAP = ramp setting + 2cm. As long as there are no "events", EPAP and IPAP increase linearly to where they reach EPAP = min EPAP and IPAP = min EPAP + 2. If any events occur, the machine will increase the appropriate pressure by a cm or two and then continue ramping up from there. Once EPAP = min EPAP, then the pressures change based on the Auto algorithm and the two pressures are largely allowed to vary independently f each other. So with a RAMP, the pressure ranges are as follows:
  • ramp setting <= EPAP <= max IPAP - 2
  • ramp setting + 2 <= IPAP <= max IPAP; once the ramp period is over, min EPAP <= EPAP and min EPAP + 2 <= IPAP.

A NOTE about Bi-Flex turned ON: I don't know if the machine records the subtle differences in EPAP that are caused by the "extra-relief" and "rounding" that you get when Bi-Flex is turned on. Unlike the Resmed EPR algorithm, the PR Flex systems apparently do not reduce the pressure by the same amount on each exhalation----the amount of relief depends on how forceful the exhalation is: The larger and more forceful the exhale, the more relief is provided. My understanding of Bi-Flex is that the pressure increases back up to the full EPAP setting sometime around halfway through the exhale. And then there's some kind of "rounding" that takes place when you start your inhalation that is to gentle the transition from EPAP to IPAP. I'm sorry I'm so vague here, but I didn't like Flex and turned it off within a few days of getting my PR BiPAP Auto.
What are the most important statistics to show for a line in the prescription changes table?
For example, for BIPAP it shows a table containing the date range, number of data days, AHI, EPAP, IPAP, EPAP 95%, IPAP 95%

(Flex/EPR types will be added to this list soon, I haven't forgotten.)
On the BiPAP Auto machines, PS and PS 95% would be nice since PS is NOT a constant on these machines; on the Resmed machines, PS is a constant and hence not really needed.

Final note: Right now SH always shows my "Flex = 2" even though I haven't used Flex in months and months. (I briefly did an experiment with both Flex and Rise Time some time way back in March 2011. It would be nice if SH could pick up my Rise Time setting. Rise Time is only available if Bi-Flex is turned completely off; so most folks don't know about it or care about it.

_________________
Machine: DreamStation BiPAP® Auto Machine
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: PR System DreamStation and Humidifier. Max IPAP = 9, Min EPAP=4, Rise time setting = 3, minPS = 3, maxPS=5

User avatar
deerslayer
Posts: 1195
Joined: Tue Dec 11, 2007 10:46 am
Location: Mid Tn

Re: SleepyHead 0.9 beta sneak preview..

Post by deerslayer » Sun Jan 01, 2012 2:32 pm

Jedimark , is your latest version better than the one i downloaded in aug. for my pr system 1 bipap auto ?
v0.7.3700.3455 alpha preview
i am puzzled not knowing what rera #'s mean , when my overall ahi looks pretty low.
Again, Thank You so much for all your hard work. it's amazing, God Bless

_________________
MachineMask
Additional Comments: straight cpap 12.20 AHI avg.0.79
RESMED AUTOSET 11/ P 10 NASAL PILLOWS /straight cpap 11.50/ AHI 1.0 per hr

Feeling Blessed & firmly believe in The Holy Trinity 🙏