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

Where is Resmed Inspiration/Expiration Time in BRP or PLD file
#1
Where is Resmed Inspiration/Expiration Time in BRP or PLD file
I am trying to read the edf files for my Resmed to look at the inspiration and expiration times outside of OSCAR or Sleepyhead to calculate dutycycle type numbers.   I have edf browsers and can read the headers, and data, but nothing indicates that inspiration time or expiration time is stored in the Resmed files.  (They are just not visible to me so far.)  Are they calculated separately by the dataloader in OSCAR from the recorded flow numbers?

Thank you for your help!
Post Reply Post Reply
#2
RE: Where is Resmed Inspiration/Expiration Time in BRP or PLD file
The Resmed AutoSet does not report inspiration nor expiration times. It appears that only the VAuto reports those times in the PLD.edf file.

I'm not sure where the I and E times are calculated, nor the algorithm used. It is not in the loader, so I'll have to do some poking around in the code to find it.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#3
RE: Where is Resmed Inspiration/Expiration Time in BRP or PLD file
Thank you for taking time to look at my question. Thanks  I believe I have located the algorithm.

After slogging through the master code, it seems it is in the calcs.cpp, starting at line 305, in the folder OSCAR-code-master\oscar\SleepLib.
I can look at this coding and reconstitute as pseudocode for my own calculation (in Octave), so that I can look at the breath variation statistics as a function of time.

This is a great board.  I have learned a lot from it. like  I have read some of your past posts, and am grateful we have dedicated volunteers like yourself!
Post Reply Post Reply
#4
RE: Where is Resmed Inspiration/Expiration Time in BRP or PLD file
For what it is worth, for the ResMed VAuto, the signal names are BSITime and BSETime, for the inhalation and exhalation times in the PLD edf file.  They are logged at a 2 second rate. There is also a signal called IERatio, which is also at a 2 second rate.

To find this information, I used pyEDFLib to extract the dictionary that has the channel information.  There's probably an equivalent in EDFbrowser.

At least for my test file, the two signals were a bit noisy, with the exhalation times having more than twice as much noise.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Newbie Q on using OSCAR for first time Tman1966 1 35 Yesterday, 05:30 PM
Last Post: Crimson Nape
  How and where to adjust local time. douglaskeene 2 91 03-23-2024, 04:07 PM
Last Post: SarcasticDave94
  Where Oscar put the data file? Rosacer24 0 61 03-22-2024, 12:16 AM
Last Post: Rosacer24
  Time listed: Wrong end time? How to fix? Plmnb 5 204 03-08-2024, 08:57 AM
Last Post: Crimson Nape
  python file converter for EMAY sleep pulse oximeter joeblough 1 618 03-04-2024, 10:26 PM
Last Post: ElectricalPaul
  Total Time In Apnea is missing ElUno 3 327 02-26-2024, 09:23 AM
Last Post: LoudSnorer
  SpO2 Assistant Data File Conversion WSHenry 3 3,087 01-11-2024, 12:42 PM
Last Post: BiggerDog


New Posts   Today's Posts


About Apnea Board

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