We use cookies and other tools to enhance your experience on our website and to analyze our web traffic.
For more information about these cookies and the data collected, please refer to our Privacy Policy.

Timestamps in an EDF discontinuous file

1 post
Was this reply useful? Learn more...
 
[-]
mikediamond +0 points · over 6 years ago

Has anyone had experience with extracting the time frames using matlab at the discontinuous points in an EDF tile (ie, where it stopped recording and then when it re-started recording)?

https://www.mathworks.com/matlabcentral/answers/369596-timestamps-in-an-edf-discontinuous-file

9 posts
Was this reply useful? Learn more...
 
[-]
SaraMariani +0 points · over 6 years ago

Hello, I am not entirely sure I understand your question correctly.

If the discontinuities you are mentioning are in the file itself, say, the sensor comes off, the recording is paused, and then it goes back on, so you have a gap in time in the signal, I have never encountered such a case for biomedical data. Usually if the electrode comes off you have just flat/no signal/noise for a certain time, or the recording is interrupted, the file is saved, and then a new file is recorded. Also, an EDF can only contain a single time-stamp in the header (start of recording), so it wouldn’t seem possible to have an actual gap of time “in the middle” (so to speak) of a recording.

If instead you are asking, in a signal, how to detect the portions where the electrode came off or recording stops, then there are some signal processing techniques you could try, like power-based or entropy-based analysis to find noise/flat signal.

Please let us know if we can be of any help! Sara