Reading Oscar database

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
unidee
Posts: 38
Joined: Sun Jul 12, 2015 8:28 am
Location: Helsinki Finland

Reading Oscar database

Post by unidee » Mon Jan 24, 2022 4:05 pm

Have anybody programmed a tool which can read Oscar (version 1.3.x) database? C++ or python or such language. And have anybody a structure of data? Or have anybody coded database repairing tool? For example some Oscar upgrades has deleted some parts of data. And if there are tool, you can do several types of graphical statistics from your sleeping.

_________________
MachineMask
Additional Comments: Software Oscar. oximeter CMS50F.

User avatar
zonker
Posts: 11011
Joined: Fri Jun 19, 2015 4:36 pm

Re: Reading Oscar database

Post by zonker » Mon Jan 24, 2022 6:36 pm

unidee wrote:
Mon Jan 24, 2022 4:05 pm
Have anybody programmed a tool which can read Oscar (version 1.3.x) database? C++ or python or such language. And have anybody a structure of data? Or have anybody coded database repairing tool? For example some Oscar upgrades has deleted some parts of data. And if there are tool, you can do several types of graphical statistics from your sleeping.
the authors of oscar hang out here. someone will be along shortly to answer your questions.

good luck!
people say i'm self absorbed.
but that's enough about them.
Oscar-Win
https://www.apneaboard.com/OSCAR/OSCAR-1.5.1-Win64.exe
Oscar-Mac
https://www.apneaboard.com/OSCAR/OSCAR-1.5.1.dmg

GrumpyHere
Posts: 508
Joined: Sat Feb 13, 2021 2:40 am

Re: Reading Oscar database

Post by GrumpyHere » Mon Jan 24, 2022 9:45 pm

unidee wrote:
Mon Jan 24, 2022 4:05 pm
Have anybody programmed a tool which can read Oscar (version 1.3.x) database? C++ or python or such language. And have anybody a structure of data? Or have anybody coded database repairing tool? For example some Oscar upgrades has deleted some parts of data. And if there are tool, you can do several types of graphical statistics from your sleeping.
Hmm... open source software.
OSCAR is always looking for help: programmers, testers, or translators.
Send a private message to 'Gideon' on the Apnea Board Forum if you are interested.
https://gitlab.com/pholy/OSCAR-code

https://www.sleepfiles.com/OSCAR/
ResMed Lumis Tx - VAuto mode

jlaumonier
Posts: 5
Joined: Tue Aug 02, 2022 12:29 pm

Re: Reading Oscar database

Post by jlaumonier » Tue Aug 02, 2022 1:13 pm

unidee wrote:
Mon Jan 24, 2022 4:05 pm
Have anybody programmed a tool which can read Oscar (version 1.3.x) database? C++ or python or such language. And have anybody a structure of data? Or have anybody coded database repairing tool? For example some Oscar upgrades has deleted some parts of data. And if there are tool, you can do several types of graphical statistics from your sleeping.
Hi,

I am a little bit late, but that's my plan (even if i am just at the beginning of the source code discovering). I am not sure how to do that, if i can interface the C++ code with python, or if i need to rewrite new python code to read file structures (hope not).

If someone have any clues about the best way to do that (or existing softwares), i am ready to help.

Have a nice day.

Julien

User avatar
palerider
Posts: 32300
Joined: Wed Dec 16, 2009 5:43 pm
Location: Dallas(ish).

Re: Reading Oscar database

Post by palerider » Wed Aug 03, 2022 12:21 pm

zonker wrote:
Mon Jan 24, 2022 6:36 pm
unidee wrote:
Mon Jan 24, 2022 4:05 pm
Have anybody programmed a tool which can read Oscar (version 1.3.x) database? C++ or python or such language. And have anybody a structure of data? Or have anybody coded database repairing tool? For example some Oscar upgrades has deleted some parts of data. And if there are tool, you can do several types of graphical statistics from your sleeping.
the authors of oscar hang out here. someone will be along shortly to answer your questions.

good luck!
Last time I looked, unidee was in the dev channel, maybe they kicked him out for dumb questions, of which there were plenty.

_________________
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: S9 VPAP Auto
Get OSCAR

Accounts to put on the foe list: dataq1, clownbell, gearchange, lynninnj, mper!?, DreamDiver, Geer1, almostadoctor, sleepgeek, ajack, stom, mogy, D.H., They often post misleading, timewasting stuff.

User avatar
zonker
Posts: 11011
Joined: Fri Jun 19, 2015 4:36 pm

Re: Reading Oscar database

Post by zonker » Wed Aug 03, 2022 1:46 pm

palerider wrote:
Wed Aug 03, 2022 12:21 pm

Last time I looked, unidee was in the dev channel, maybe they kicked him out for dumb questions, of which there were plenty.
could explain why after i said that in january, nobody from oscar responded.
people say i'm self absorbed.
but that's enough about them.
Oscar-Win
https://www.apneaboard.com/OSCAR/OSCAR-1.5.1-Win64.exe
Oscar-Mac
https://www.apneaboard.com/OSCAR/OSCAR-1.5.1.dmg

jlaumonier
Posts: 5
Joined: Tue Aug 02, 2022 12:29 pm

Re: Reading Oscar database

Post by jlaumonier » Fri Feb 03, 2023 1:25 pm

After several months, i found time to start a python project to read OSCAR files (mainly to use data in machine learning project) : https://github.com/jlaumonier/apnea It is just a proof of concept at the moment but it will be improved soon. If someone is interested to help, feel free to contact me.

In the long termI am not sure if a python library is the best way to read file or if this feature should be implemented in OSCAR (with a detail CVS export for example). But at the moment, I am not able to invest time for C++ development.

Julien