SleepHead Special data wanted
SleepHead Special data wanted
Hi,
Is there a way to export the tidal volume data out of Sleephead / or interrogate Sleephead files to do the same.
I experience many events during the night when the tidal volume spikes high (10-20 events per night of over 2100 ml). By using an oximetry I know this is when my oxygen level drops and as a consequence I take deep breaths, my heart going in to overdrive etc.
Anyway, I want to be able to chart these events, which I could do if I were able to extract the event info.
Many thanks in advance.
Is there a way to export the tidal volume data out of Sleephead / or interrogate Sleephead files to do the same.
I experience many events during the night when the tidal volume spikes high (10-20 events per night of over 2100 ml). By using an oximetry I know this is when my oxygen level drops and as a consequence I take deep breaths, my heart going in to overdrive etc.
Anyway, I want to be able to chart these events, which I could do if I were able to extract the event info.
Many thanks in advance.
Last edited by Wellie on Sun Dec 15, 2013 4:13 pm, edited 1 time in total.
Re: SleepyHead Tutorial and TX Hints
I don't think there is any way for SleepyHead to export that particular piece of data to do what you are wanting to do.
Have you looked at the Overview tab for the way that SH does the tidal volume graph?
Does anyone who happens to be proficient in ResScan special reports know if ResScan would do something like that?
All I know to do is generate the report that shows Tidal volume like this.
I never messed with ResScan all that much so I am not very adept with it.

Have you looked at the Overview tab for the way that SH does the tidal volume graph?
Does anyone who happens to be proficient in ResScan special reports know if ResScan would do something like that?
All I know to do is generate the report that shows Tidal volume like this.
I never messed with ResScan all that much so I am not very adept with it.

_________________
| 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.
Re: SleepyHead Tutorial and TX Hints
Sorry Pugsy, I should of mentioned my unit is a Respironics System One REMStar 60 Series CPAP Auto with C-Flex.
I've also looked at Encore Pro 2 (Philips), and it goes noway in to the same detail Sleeyhead does.
I've also looked at Encore Pro 2 (Philips), and it goes noway in to the same detail Sleeyhead does.
Re: SleepyHead Tutorial and TX Hints
Yeah, Encore doesn't offer anywhere near the detail because in most situations it isn't needed.
I don't think that even with the ASV machine where the TV might be more important that it shows anything special.
If the overview graph in SH isn't sufficient to meet your needs then I don't know what to tell you.
Maybe if you will modify your subject title here in this thread to "SleepHead Special data wanted"...Mark who designed SleepyHead will see this thread and chime in with any ideas he might have to help you get what you want.
Right now he will likely just skim over it as he likely would think it is a typical question that I can normally answer.
I don't think that even with the ASV machine where the TV might be more important that it shows anything special.
If the overview graph in SH isn't sufficient to meet your needs then I don't know what to tell you.
Maybe if you will modify your subject title here in this thread to "SleepHead Special data wanted"...Mark who designed SleepyHead will see this thread and chime in with any ideas he might have to help you get what you want.
Right now he will likely just skim over it as he likely would think it is a typical question that I can normally answer.
_________________
| 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.
Re: SleepHead Special data wanted
Pugsy, thank for the idea, have done so
Best regards
Best regards
Re: SleepHead Special data wanted
I also sent Mark a PM asking him to stop by here. He isn't online here everyday but eventually he will get the PM and will stop by.
_________________
| 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.
Re: SleepHead Special data wanted
Hmm.. I can't remember if CSV export has the capability to dump graph data. Been so long since I've looked at that module.
Anyway, the data generated for Tidal Volume / Respiratory Rate and Minute Ventilation on Philips Respironics machines, is extracted by some experimental code I wrote to process the flow rate waveform. Basically put, each breath gets peaks, lows and midlines pre-flagged by another algorithm, then it sums the volume of the area inside the breath and the zero line considering every data point in the flow waveform within the breaths boundaries, giving the total tidal flow for each breath (times 2, because the tidal flow of breaths in minus breaths out averages out to zero, technically I can use just the absolute value of intake, exhalation, or an average of the absolute value of both, I forget which approach I took)
A lot of spikes occur because of the very low resolution of the flow rate waveform - basically during apneas, or long snore/rollover events it can send the data haywire producing the spikes, because it's either crossing the zeroline all over the place, or there is long delays without crossing the zeroline.
So the more accurate the pre-flagging is, the more accurate the Tidal Volume can be, but if there aren't reliable data points to flag, it's going to keep summing until the data gets normal again.
It's not just my algorithm that works like this, I've noticed ResMed produces similar results, but my code probably could do with better filters.
Suggestions for improvement by maths geeks are always welcome
Anyway, the data generated for Tidal Volume / Respiratory Rate and Minute Ventilation on Philips Respironics machines, is extracted by some experimental code I wrote to process the flow rate waveform. Basically put, each breath gets peaks, lows and midlines pre-flagged by another algorithm, then it sums the volume of the area inside the breath and the zero line considering every data point in the flow waveform within the breaths boundaries, giving the total tidal flow for each breath (times 2, because the tidal flow of breaths in minus breaths out averages out to zero, technically I can use just the absolute value of intake, exhalation, or an average of the absolute value of both, I forget which approach I took)
A lot of spikes occur because of the very low resolution of the flow rate waveform - basically during apneas, or long snore/rollover events it can send the data haywire producing the spikes, because it's either crossing the zeroline all over the place, or there is long delays without crossing the zeroline.
So the more accurate the pre-flagging is, the more accurate the Tidal Volume can be, but if there aren't reliable data points to flag, it's going to keep summing until the data gets normal again.
It's not just my algorithm that works like this, I've noticed ResMed produces similar results, but my code probably could do with better filters.
Suggestions for improvement by maths geeks are always welcome
_________________
| 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
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code
Re: SleepHead Special data wanted
Thanks for your response but unfortunately the .csv file only details events for the following:
Event:
ClearAirway
FlowLimit
Hypopnea
Obstructive
Pressure
PressurePulse
RERA
VSnore
VSnore2
but what I want to do is extract the flow events which produce excessive spikes, i.e. from below the Tidal spikes above 2100. If I can access the data then I can filter it and build my reports - weekly, monthly trends etc

Event:
ClearAirway
FlowLimit
Hypopnea
Obstructive
Pressure
PressurePulse
RERA
VSnore
VSnore2
but what I want to do is extract the flow events which produce excessive spikes, i.e. from below the Tidal spikes above 2100. If I can access the data then I can filter it and build my reports - weekly, monthly trends etc

Re: SleepHead Special data wanted
Dumb question - What does the tidal volume mean? I got the "dictionary definition" from Wikipedia, but mine is slowly going down from 700 to 660. Is this "good", "bad" or just "data"?
Re: SleepHead Special data wanted
It's just data and there is a wide range in what is normal...and the "normal" range is much, much larger than 700 to even 600.MitzyG wrote:What does the tidal volume mean? I got the "dictionary definition" from Wikipedia, but mine is slowly going down from 700 to 660. Is this "good", "bad" or just "data"?
_________________
| 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.


