Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

OSCAR preferences for flagging HR & SpO2 events?
#1
OSCAR preferences for flagging HR & SpO2 events?
I've been tinkering with the preferences for flagging oximetry data, and I can't seem to find a happy medium between flagging everything and flagging nothing, especially with the SpO2 data.

Can somebody explain what I should set the % and seconds to in various scenarios?
Post Reply Post Reply
#2
RE: OSCAR preferences for flagging HR & SpO2 events?
Knowing that the Viatom/Wellue uses a 4-second sampling, I think I would use something that would be divisible by 4. Something like 20 to 32 seconds. This would allow for repeatability of readings and throw out any artifacts. As far a percent; Since the percent value is based on your average, I would try to come up with an acceptable average for yourself. Then, determine what is a value you want flagged. Determine the percentage difference between the two, and you will have your percent value.

. . . Or did you want something that involves Gauss-Jordan least-squares regression analysis? Big Grin
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
RE: OSCAR preferences for flagging HR & SpO2 events?
This seems like as good a place as any to mention what I discovered from talking to Viatom.

They calculate their baseline by taking the MOD (edit: MODE) of the values greater than or equal to the mean (by mean, I assume they mean rounded to the nearest integer, based on my own testing). They then calculate their drops based on a fall of more than 3 or 4 percentage points for ANY length of time, and the drop ends when the value rises to within 2 percentage points of the baseline.

So if your baseline is 95%, to trigger a 3% drop, the value has to be lower than 92% (which, in practice, is 91% or less, because it measures in whole integers) and the drop will end when the level rises to 93% again. And a 4% drop is calculated from the moment the value falls to 90% and ends the moment it gets to 93% again.

In the movement graph, every integer is 1/32nd of a G (the acceleration felt due to the force of gravity, or 9.8m/s²). So a movement value of 32 means the device was accelerating at 1G and 64 would be accelerating at 2G, etc. It doesn't seem to differentiate what direction that acceleration is in (and I'm not sure if it's additive, average or what).

Hope that's at least interesting to someone!

As to what settings to choose, that depends on your purpose. If you want to see a more accurate reading of how much time a night you spend under a certain level, then go with shorter periods. If you're only interested in prolonged drops, then set it longer. Though most doctors use 3 or 4% over either 8 or 10 seconds, you can also limit it to the really big drops too, if you really want to.

Just bear in mind that (from my experience at least) you need to reimport the viatom data to have the stats recalculated. It doesn't recalculate it on the fly.
Post Reply Post Reply
#4
RE: OSCAR preferences for flagging HR & SpO2 events?
(06-19-2021, 12:37 PM)Ratchick Wrote: They calculate their baseline by taking the MOD of the values greater than or equal to the mean (by mean, I assume they mean rounded to the nearest integer, based on my own testing).

In the movement graph, every integer is 1/32nd of a G (the acceleration felt due to the force of gravity, or 9.8m/s²). So a movement value of 32 means the device was accelerating at 1G and 64 would be accelerating at 2G, etc. It doesn't seem to differentiate what direction that acceleration is in (and I'm not sure if it's additive, average or what).
That is interesting. I'm guessing they might mean the "MODE" of the values greater than or equal to the mean ("MOD" is usually short for "modulo" which doesn't make sense here). i.e. the most common reading greater than or equal to the average.
OSCAR uses the median SpO2 value of the first hour of a session to determine the baseline, which is likely to be similar. A drop is reported when value is <= baseline-change% for >= minimum_duration. 
The acceleration calculation would likely be something like abs(sqrt(ax^2+ay^2+ax^2)-32) - I assume they have a 3 axis accelerometer with 1g = 32.
Post Reply Post Reply
#5
RE: OSCAR preferences for flagging HR & SpO2 events?
Correction: OSCAR uses the 90% percentile of the first hour, not the median as I previous stated.
Post Reply Post Reply
#6
RE: OSCAR preferences for flagging HR & SpO2 events?
That's good to know, thank you. Now I can definitely understand the differences in figures more clearly. I hadn't yet gone through the code to figure out exactly how the baseline was calculated in OSCAR.

You're right, I did mean mode, sorry, it was late and I was tired and caffeine-deficient. Big Grin

You're also correct that they have a three-axis accelerometer setup. I honestly never bothered to ask the exact formula as I was just interested to know what the numbers represented rather than exactly how they were calculated for movement.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Airsense 11 AutoSet - no events showing dothebobalacky 0 187 11-02-2024, 07:21 AM
Last Post: dothebobalacky
  Discrepancy with desaturation events between Sleepyhead and Oximeter software Asjb 3 2,204 09-28-2024, 03:23 AM
Last Post: THEVGE
  Manually Tagging Events cyberfiche 7 411 09-27-2024, 03:03 AM
Last Post: THEVGE
  OSCAR SpO2 CSV import ST Dog 29 5,834 09-11-2024, 05:36 PM
Last Post: Toolworker
  Printing List of Daily Events & sidebar info Yukonlilye 0 200 08-21-2024, 12:34 PM
Last Post: Yukonlilye
  how to have CA added to OSCARS "Events Flag" Graph Wm kintz 21 1,415 08-04-2024, 06:26 PM
Last Post: Wm kintz
  User event flagging feature Arik 0 253 07-25-2024, 10:42 PM
Last Post: Arik


New Posts   Today's Posts


About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.