Clear Filters
Clear Filters

Format of '*.edf.seizures' (CHB-MIT database)

11 views (last 30 days)
PHUONG DAO
PHUONG DAO on 7 Nov 2017
Edited: Walter Roberson on 8 Nov 2017
From the code that Alex and Walter had provided, I do know that byte_array(39) and byte_array(42) shows us with the seizure starting time; byte_array(50) is the length of seizure, but I have no idea about the meaning the others.
file_descriptor = fopen(annotation_file_location);
byte_array = fread(file_descriptor);
seizure_start_time_offset_in_seconds = bin2dec(strcat(dec2bin(byte_array(39)),dec2bin(byte_array(42))));
seizure_length_in_seconds = byte_array(50);
Please help me.
  3 Comments
PHUONG DAO
PHUONG DAO on 8 Nov 2017
May I have more detail about the meaning of every single byte from .edf.seizures files?
Walter Roberson
Walter Roberson on 8 Nov 2017
Edited: Walter Roberson on 8 Nov 2017
I did not find a description of the file format.

Sign in to comment.

Answers (0)

Categories

Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!