SleepyHead resmed loader

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

SleepyHead resmed loader

Post by jedimark » Wed Jun 29, 2011 12:23 pm

Hi all,

I finally started on finishing SleepyHead's ResMed EDF support.. All the EDF dirty work is done.. Now it's just sorting out whats what..

I've already figured out the flowrate waveform, and Hypopnea/Obstructive/Clear airway events. This is working nicely already, and my event timing matches up on the overlays (yay!)

Not 100% sure which is which of the following EDF data fields, so I thought I'd ask for more info about them here... Snore & Leak are fairly obvious, I think FFL is flow limitation.. but not sure about the rest. (the first 3 are pressures, but what type/kind/whatever?)

(These are from the xxxxxxxxx.PLD.edf files..)

Mask Pres
Therapy Pres
Exp Press
Leak
RR
Vt
MV
Snore Index
FFL Index

Also, the EDF file containing the flow waveform (xxxxx.BRP.edf) has another waveform attached called Mask Pres, on top of the one above.. What is this?

_________________
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 resmed loader

Post by Breathe Jimbo » Wed Jun 29, 2011 2:32 pm

jedimark wrote:my event timing matches up on the overlays (yay!)
Yay, indeed, as that appears to resolve the so-called "data skew bug" in the S9 series!

_________________
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 resmed loader

Post by jedimark » Wed Jun 29, 2011 2:50 pm

Okay, Mask Pressure seems to be the only one with graphable pressure data. Still don't know what the others do.

I figure MV = Minute Ventilation. Have no idea what it does or means. Looks pretty.

Leak doesn't look like leak data, however Vt does..

RR has a nice graph, but I have no idea what it is or does.

Snore graphs nicely.. Much more detailed than PRS1

_________________
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
Slinky
Posts: 11372
Joined: Wed Nov 01, 2006 3:43 pm
Location: Mid-Michigan

Re: SleepyHead resmed loader

Post by Slinky » Wed Jun 29, 2011 3:37 pm

VT is Tidal Volume = volume of air inspired or expired in one respiratory cycle (breath).

RR is Respiratory Rate = frequency of breathing, expressed as the number of breaths per minute.

MV is Minute Ventilation = the volume of air breathed in (or out) w/in any 60 second period.

Leak is derived by analyzing the inspiratory and expiratory airflows, together w/the expected mask vent flows.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: PR SystemOne BPAP Auto w/Bi-Flex & Humidifier - EncorePro 2.2 Software - Contec CMS-50D+ Oximeter - Respironics EverFlo Q Concentrator
Women are Angels. And when someone breaks our wings, we simply continue to fly.....on a broomstick. We are flexible like that.
My computer says I need to upgrade my brain to be compatible with its new software.

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

Re: SleepyHead resmed loader

Post by jedimark » Wed Jun 29, 2011 3:44 pm

Thankyou Slinky!!!

_________________
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 resmed loader

Post by jedimark » Wed Jun 29, 2011 3:50 pm

Slinky wrote:Leak is derived by analyzing the inspiratory and expiratory airflows, together w/the expected mask vent flows.
I take it the other Mask Pressure data set in the same file as the flow rate is the other part of this?

_________________
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
Otter
Posts: 1063
Joined: Sat Mar 19, 2011 5:02 pm

Re: SleepyHead resmed loader

Post by Otter » Wed Jun 29, 2011 3:54 pm

jedimark wrote:Hi all,

I finally started on finishing SleepyHead's ResMed EDF support.. All the EDF dirty work is done.. Now it's just sorting out whats what..
Woot!
Not 100% sure which is which of the following EDF data fields, so I thought I'd ask for more info about them here... Snore & Leak are fairly obvious, I think FFL is flow limitation.. but not sure about the rest. (the first 3 are pressures, but what type/kind/whatever?)

(These are from the xxxxxxxxx.PLD.edf files..)

Mask Pres
Therapy Pres
Exp Press
Leak
RR
Vt
MV
Snore Index
FFL Index

Also, the EDF file containing the flow waveform (xxxxx.BRP.edf) has another waveform attached called Mask Pres, on top of the one above.. What is this?
Mask pressure is just what it says, the pressure at the mask. With this you can see the effect of EPR. You can also see yourself hyperventilate and scream into the mask if you freak out because you are critically low on serotonin, really need to sleep, and can't get the mask to seal. Hence, it must be an actual meausred pressure rather than a target. If you look at Mask Pressure and Flow together, you can see what the pressure actually was when an event occurred.

Therapy pressure is the machine's target IPAP in APAP mode. It does not show the effect of EPR, but is useful for figuring out what the machine thought you needed. This is the one you'd look at to adjust max and min apap pressures.

Not sure what Exp Press is.

I think Vt is tidal volume. The units are liters.

MV is in "liters/mi", according to EDF Browser. Liters/minute? Trace follows Vt, but I'm not sure what it is.

Leak is in liters/sec, and I thought it was leak data. What should leak data look like?

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Software: SleepyHead 0.9 beta

User avatar
Otter
Posts: 1063
Joined: Sat Mar 19, 2011 5:02 pm

Re: SleepyHead resmed loader

Post by Otter » Wed Jun 29, 2011 4:08 pm

jedimark wrote:
Slinky wrote:Leak is derived by analyzing the inspiratory and expiratory airflows, together w/the expected mask vent flows.
I take it the other Mask Pressure data set in the same file as the flow rate is the other part of this?
Seems logical they'd calculate expected flow rates from Mask Pressure and the vent PQ curve for whichever mask you selected.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Software: SleepyHead 0.9 beta

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

Re: SleepyHead resmed loader

Post by jedimark » Wed Jun 29, 2011 4:17 pm

I'll have to hack around with the leak stuff. I'll figure it out eventually.

I'm at the point I can start the funky graph layout stuff based on machine capabilities (eg, the S9 has more goodies than PRS1)

Things are starting to fall into place.

_________________
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
Slinky
Posts: 11372
Joined: Wed Nov 01, 2006 3:43 pm
Location: Mid-Michigan

Re: SleepyHead resmed loader

Post by Slinky » Wed Jun 29, 2011 4:25 pm

I would guess that Exp Press = expiratory pressure.

Hey, jedimark, I don't necessarily know or understand what the devil I was talking about. Those were the definitions from the ResScan definition page.

The full definition at Leak was:
Leak is an estimate of the total rate of air escaping due to mouth and mask leaks.
It is derived by analyzing the inspiratory and expiratory airflows, together w/the expected mask vent flows.
High or changing leak rates may affect the accuracy of other measurements.

Those who are adept at browsing thru the Resmed Clinicians/Professionals pages at the Resmed website can probably find a little more explicit information.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: PR SystemOne BPAP Auto w/Bi-Flex & Humidifier - EncorePro 2.2 Software - Contec CMS-50D+ Oximeter - Respironics EverFlo Q Concentrator
Women are Angels. And when someone breaks our wings, we simply continue to fly.....on a broomstick. We are flexible like that.
My computer says I need to upgrade my brain to be compatible with its new software.

User avatar
Otter
Posts: 1063
Joined: Sat Mar 19, 2011 5:02 pm

Re: SleepyHead resmed loader

Post by Otter » Wed Jun 29, 2011 5:05 pm

Slinky wrote:I would guess that Exp Press = expiratory pressure.
Spent a few minutes looking at Exp Press, and it seems to be the target EPAP pressure, Therapy Press - EPR. With 3 cm EPR, it's always Therapy Press - 3.
The full definition at Leak was:
Leak is an estimate of the total rate of air escaping due to mouth and mask leaks.
It is derived by analyzing the inspiratory and expiratory airflows, together w/the expected mask vent flows.
High or changing leak rates may affect the accuracy of other measurements.

Those who are adept at browsing thru the Resmed Clinicians/Professionals pages at the Resmed website can probably find a little more explicit information.
The Data Management Guide says the same thing. I was hoping for more, because the DMG is the only place I found a definition for hypopnea.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Software: SleepyHead 0.9 beta

User avatar
Slinky
Posts: 11372
Joined: Wed Nov 01, 2006 3:43 pm
Location: Mid-Michigan

Re: SleepyHead resmed loader

Post by Slinky » Wed Jun 29, 2011 5:10 pm

JediMark, do you have a pdf of the Resmed S9 VPAP Auto Clinicians Manual?? That may have more comprehensive information/explanation of the various terms and what they portend.

On the other hand, the Resmed S8 VPAP Auto (released January 2008) Clinicians Manual was MUCH more explicit and informative than the Resmed S8 VPAP Auto 25 (released July 2008) Clincians Manual.

Just a thuoght.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: PR SystemOne BPAP Auto w/Bi-Flex & Humidifier - EncorePro 2.2 Software - Contec CMS-50D+ Oximeter - Respironics EverFlo Q Concentrator
Women are Angels. And when someone breaks our wings, we simply continue to fly.....on a broomstick. We are flexible like that.
My computer says I need to upgrade my brain to be compatible with its new software.

User avatar
Otter
Posts: 1063
Joined: Sat Mar 19, 2011 5:02 pm

Re: SleepyHead resmed loader

Post by Otter » Wed Jun 29, 2011 5:21 pm

The DMGs would be at least useful as a quick reference. As I recall, the DMG gave me what I found in the S8 Clinicians manual but could not find in the manual for the S9. Still pretty sketchy, but orders of magnitude better than a face that turns from green to red at an unspecified leak rate.

Autoset
http://www.resmed.com/int/assets/docume ... ow_eng.pdf

Bilevel
http://www.resmed.com/us/assets/documen ... lo_eng.pdf

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Software: SleepyHead 0.9 beta

User avatar
LittleRedTruck
Posts: 183
Joined: Wed Feb 22, 2006 9:19 am

Re: SleepyHead resmed loader

Post by LittleRedTruck » Wed Jun 29, 2011 5:52 pm

This is wonderful, your designing this! Wondering when it should be available for us S9 users and if it will function for the S9 Vpap auto. thanks, dan

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: S9 Vpap Adapt SV

User avatar
Otter
Posts: 1063
Joined: Sat Mar 19, 2011 5:02 pm

Re: SleepyHead resmed loader

Post by Otter » Wed Jun 29, 2011 6:21 pm

Just a thought: It would be nice to be able to superimpose Therapy Press and Exp Press on Mask Press. I've done that a couple times in EDFB with TP and MP, but it's a PITA to set up. It's nice to see them all together, though, and as TP and EP will be at the extremes, and MP will meet them only briefly, it wouldn't be cluttered.

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Software: SleepyHead 0.9 beta