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 -- oximetry calculations
#1
OSCAR -- oximetry calculations
Hi folks

I'm interested in working out how long my SpO2 is below 90% each night, and trying to match that figure to other parameters or settings.

Does OSCAR provide a way to present this information automatically?

If not, can it export the actual SpO2 values it imported from my Wellue device?

If no, is the Wellue file format sufficiently well know that I could extract the values myself?

Best wishes, DS
Post Reply Post Reply
#2
RE: OSCAR -- oximetry calculations
If you save the data from your phone/computer and open it using the Wellue/Viatom app or software, there is an option to save data as CSV. That's probably the easiest way to do it. Assuming you aren't just taking the <90% figure from out of the Viatom reports, of course.

Just be aware that things like the baseline and ODI are measured differently between Wellue and OSCAR.
Post Reply Post Reply
#3
RE: OSCAR -- oximetry calculations
(01-11-2022, 08:35 AM)Ratchick Wrote: If you save the data from your phone/computer and open it using the Wellue/Viatom app or software, there is an option to save data as CSV.


Thank you -- I exported the data as CSV from the app. I don't have the Wellue desktop software as, so far as I know, there isn't a Linux version. I was rather hoping that OSCAR would be able to display this data, and I was just missing something.

BW, DS

PS -- the answer is: there is no correspondence between time spent < 90% and any other setting. It doesn't even seem to make any difference whether I actually use the CPAP machine or not. But I now know that the main cause of my desaturation is not apnea, so I guess I shouldn't be surprised.
Post Reply Post Reply
#4
RE: OSCAR -- oximetry calculations
OSCAR only uses the Wellue's binary data file.  Since you're using Linux, the CSV file can be opened with LibreOffice's spreadsheet program. You could then create a filter to parse out any reading below 90% and then sum the time.
Crimson Nape
Apnea Board Moderator
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
#5
RE: OSCAR -- oximetry calculations
Are you using the app on your phone to download the data? If so, it SHOULD show you the value in the report... at least it does on my Android app, I can't swear to what would show on the iOS app.

   
Post Reply Post Reply
#6
RE: OSCAR -- oximetry calculations
iOS is identical to the Android app showing the <90% Time. Can also export as Binary|PDF|CSV
Jeff8356

MacBook Air (2017, Intel) | macOS Monterey (12.7) | OSCAR v1.5.1 | VM = Win10/Win11 |
How to Links:
Installing OSCAR on a Mac
Organizing your OSCAR charts
Attaching screenshots and files for the forum
OSCAR Help
OSCAR - The Guide

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
#7
RE: OSCAR -- oximetry calculations
I wish I could export the binary on my Android app. It does PDF and CSV, but it's easy enough to brows for the ViHealth folder to get to the binaries.
Post Reply Post Reply
#8
RE: OSCAR -- oximetry calculations
From viatom_loader.cpp, I think this is what you're looking for:

Code:
   //int time_under_90pct = header[22] | (header[23] << 8);  // in seconds

OSCAR doesn't currently import that, as it (for historical reasons) doesn't really have a way to handle summary data, only detailed data. On our list to fix, but pretty far down the road.
Post Reply Post Reply
#9
RE: OSCAR -- oximetry calculations
(01-11-2022, 10:19 AM)Crimson Nape Wrote: OSCAR only uses the Wellue's binary data file.  Since you're using Linux, the CSV file can be opened with LibreOffice's spreadsheet program.  You could then create a filter to parse out any reading below 90% and then sum the time.

Thanks. I used a Perl script in the end but, yes, I did have to export the CSV files. The Android app does expose a "<90" figure, but I was really hoping I could automate the entire process, since I've already loaded all the data into OSCAR.

But no biggie.

BW, DS
Post Reply Post Reply
#10
RE: OSCAR -- oximetry calculations
It's honestly the only figure I have to go regularly to the Viatom software for because OSCAR doesn't show it. I tend to write things like that into the notes so at least it's there for future reference.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Questions about the Oximetry Preferences setting.... Lucky7 4 159 03-23-2024, 04:35 PM
Last Post: croc297
  Importing Oximetry data billmelk 1 139 03-10-2024, 02:27 PM
Last Post: Crimson Nape
  Can't set custom oximetry options in OSCAR Pixel Ninja 1 675 07-02-2023, 08:32 AM
Last Post: Crimson Nape
  using OSCAR for Contec CMS50F oximetry ...without any CPAP data? sleepymon 2 633 02-20-2023, 04:08 AM
Last Post: sleepymon
Question OSCAR Oximetry Pulse Rate Events - In Excessive Amounts (?) DavidEsp 4 863 02-17-2023, 06:11 PM
Last Post: DavidEsp
Question OSCAR Oximetry Preferences - Pulse Change Events - How Re-apply to Existing Data? DavidEsp 2 620 02-17-2023, 05:16 PM
Last Post: DavidEsp
  What does "Automatic Oximetry Cleanup" do exactly? YouTakeMyBreathAway 3 575 01-10-2023, 11:50 AM
Last Post: YouTakeMyBreathAway


New Posts   Today's Posts


About Apnea Board

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