How I can read chb01_03.edf.seizures file from CHB MIT database in MATLAB? As I am using this file for seizure detection required in my reasearch, Plz provide function to read this file.
26 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
When I use edfread to read chb01_03.edf.seizures giving error!!!
Subscript indices must either be real positive integers or logicals.
Error in edfread1 (line 141)
hdr.label{ii} = regexprep(fread(fid,16,'*char')','\W','');
Error in Data_read_29_6_15_Seiz (line 3)
[a11,b11]=edfread1('chb01_03.edf.seizures');
0 commentaires
Réponses (3)
Alex
le 8 Jan 2016
Modifié(e) : Walter Roberson
le 9 Jan 2016
I used this code that I got from comparing bytes in .edf.seizure files to the summary of the data in the folder:
function [ seizure_start_time_offset_in_seconds, seizure_length_in_seconds ] = get_seizure_period( annotation_file_location )
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);
end
6 commentaires
Naznin Sultana
le 13 Fév 2018
Modifié(e) : Walter Roberson
le 13 Fév 2018
I have the similar problem. I can not read .seizure file from CBH_MIT database. What does this function
function [ seizure_start_time_offset_in_seconds, seizure_length_in_seconds ] = get_seizure_period( annotation_file_location )
do? How can i get seizure data and plot it?
Walter Roberson
le 29 Juin 2015
4 commentaires
Walter Roberson
le 9 Jan 2016
My guess would be that chb01.edf.seizures is not an edf file, and is instead a file that contains a list of edf files.
Itaf BEN SLIMEN
le 20 Juin 2018
i have the same problem oen between you can open thhis file .edf.seizures
1 commentaire
Walter Roberson
le 20 Juin 2018
Modifié(e) : Walter Roberson
le 20 Juin 2018
You did not attach a file?
You might need to zip the file to attach the zip
Voir également
Catégories
En savoir plus sur Model Predictive Control Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!