OK, we finally have a successful mechanism to import, store, extract and synchronize Zeo brainwaves and sleep stage classifications (gathered real-time), CMS50E heart rate and spO2 (gathered post-sleep) and now data from the ResMed S9 AutosSet (post-sleep also). The CMS50E data we, in theory, could capture in real-time as well, but we will leave it a post-sleep import for now. If we need to do something with it in real-time we'll do it.
Here's an example chart of such synchronized data:
So, in our database we have:
CMS50E:
spO2, Pulse
Zeo (real time)
Delta, Theta, Alpha, Beta 1, Beta 2, Beta 3, Gamma, Sleep Stage,
ResMed:
Mask Pres, Therapy Pres, Exp Press, Leak, RR, Vt, MV, Snore Index, FFL Index, Flow_HD, Mask Pres_HD
Next, I'll come up with a way to summarize various measures from these time series on a nightly basis, as I think I want to analyze and optimize on a nightly basis... what happened the day(s) before, what happened during the night and how will I feel the next day.
As a part of this, I will also create my own "Sleep Stage" metrics, probably not following the medical standards, but something more meaningful. Sleep is not "binary mutually exclusive states" (Wake, Light, Deep, REM) but as can be seen in the brainwaves, a continuous shifting between various forms of sleep.
The analytical disassembly of Sleep Apnea while improving sleep and quality of life.
Showing posts with label spO2 Review. Show all posts
Showing posts with label spO2 Review. Show all posts
Friday, January 27, 2012
Monday, January 23, 2012
Caught a CMS 50E / spO2 Revew Problem
In downloading the data from the CMS 50E pulse-oximeter, which was in record mode overnight, into the spO2 Review software we found a problem... The spO2 Review software provided by Contec writes *.SPOR files to disk that we import into our software. When we went to import the SPOR file this AM into our software and queried the data in our software there was none for last night... what? Our software said the there wasn't any and the last available date for data was tomorrow. Eh? So we threw our software into debug mode and watched it read the SPOR file... The data in the SPOR file was reported as starting tonight, not last night. There must be a bug in either the CMS50E itself or in the spO2 Review software. We've worked around it now. Other persons that may be writing a data interface to these files probably should be aware if they don't already know. It's not a problem in the spO2 Review software because they don't seem to report the date when viewing the pulse and oximetry.
And yes, the CMS 50E / spO2 Review software has a bit of a Y2K issue which we work around also... The year in the file is 2 digits, such as 12 for 2012. Not really a bother, but we have accommodated for that as well because Microsoft .NET does not like two digit years when parsing dates.
And yes, the CMS 50E / spO2 Review software has a bit of a Y2K issue which we work around also... The year in the file is 2 digits, such as 12 for 2012. Not really a bother, but we have accommodated for that as well because Microsoft .NET does not like two digit years when parsing dates.
Friday, January 20, 2012
Software List
I use a variety of software:
None of these software packages are "medical devices" and are considered experimental in nature. Other small utility programs are used also, such as for taking images of charts.
- SleepyHead. I use this to view my ResMed S9 Autoset APAP machine's data. It's very good, made by a sleep apnea afflicted person, it's free and he's open to donations.
. - spO2 Review. This comes with the CMS 50E pulse oximeter and I use it to import data from the device and dump it to disk, to be imported by...
. - Our Analytical Software... very powerful analytical "Artificial Intelligence" technology, including a server and suite of desktop tools, of my company's making. The server gathers, maintains, cleans, filters, converts and processes data, implements "tasks" (technical processing), helps determine cause and effect, time relations in the data, mathematically models data, tells you key drivers of what you are predicting / estimating, makes those predictions and estimates of what is, or will be happening and also performs abnormal condition monitoring and optimization (hopefully of my treatment and my sleep quality or how I feel and perform). I works well with both historical and real-time streaming data. In using it for this purpose, we can make our software better as well. Later, if I find useful things perhaps we will build a product that can do these things for others.
. - Microsoft PowerPoint. I copy and paste and align charts in Powerpoint for the time being. As soon as we can put ResMed data into our analytical software, this will no longer be needed.
None of these software packages are "medical devices" and are considered experimental in nature. Other small utility programs are used also, such as for taking images of charts.
Subscribe to:
Posts (Atom)
