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






Donate to Apnea Board  
#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






Donate to Apnea Board  


Possibly Related Threads...
Thread Author Replies Views Last Post
  BMC GII SD Card English Language file phenomejohn 19 861 04-11-2021, 08:01 AM
Last Post: Crimson Nape
  Auto-fit Insp.Time & Exp.Time plots in parallel? cathyf 1 68 04-09-2021, 04:10 PM
Last Post: pholynyk
  [Airsense10 autoset data] CSL and EVE file content? biorn 3 128 04-04-2021, 08:50 PM
Last Post: biorn
  Location Setting - Time Difference Snooks 4 152 03-05-2021, 12:29 AM
Last Post: Snooks
Idea CMS50D+ Add date and time to SPO2 file adrinef 28 6,922 02-09-2021, 12:48 PM
Last Post: KCsergios
  What is Total Time in Apnea? OSCAR felipao11 5 207 02-02-2021, 03:33 PM
Last Post: GuyScharf
  Change Oscar Reports Time Format am pm u4ea 2 164 02-02-2021, 11:27 AM
Last Post: u4ea


New Posts   Today's Posts






About Apnea Board

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