Hi Christopher, Thank you very much! Currently I am trying to locate differences between 2 situations(apnea and healthy condition) and then with ml techniques new data can be classified according to their condition. I used MIT database from the beginning,so if you know how to help me with MIT database,that would be extremely helpful. Otherwise,I am going to use the database you suggested.But if you know how to open st files help me.
how to open st file
13 views (last 30 days)
Show older comments
I want to use this database but I have some issues and I need help. The database is this:
I want to use this database for making an algorithm to detect the apnea from eeg signal. But I cannot find a way to open the .st files using MATLAB. I have tried using wfdb toolbox using rdann() function, but I cannot understand the information that gives me. How can I know in which part of the eeg signal I have each annotation? If I import the .st file in MATLAB, it shows me the information I want, but I don’t have in which sample or time I have each annotation so I can recognize this part in .dat file and plot it. Can you please tell me how to open properly .st file, so I can know when I have apnea(in which part of the eeg signal) or not?
Thanks in advance
0 Comments
Accepted Answer
Anastasis
on 18 Jul 2022
4 Comments
Christopher McCausland
on 19 Jul 2022
Edited: Christopher McCausland
on 19 Jul 2022
Hi Anastasis,
Yep that is correct, I have just tried to get the annotations of that specific database myself and it's all working again. How are you getting on?
Giving a useable tab seperated output that looks like this, signals first, annotations in the AUX colum of the bottom image; (W for wake)
This should give you exactly what you need. Any issues, just reply to this, if you are good to go please accept my answer :)
Christopher
More Answers (1)
Christopher McCausland
on 18 Jul 2022
Hi Anastasis,
Can I ask what you are working on, I am researching a very similar topic and its always good to chat!
In terms of opening this data, being totally honest I would suggest you switch to this database (below). Its far bigger which you'll need if you want to do ML/DL, more genralised and in an easy format for matlab.
Kind regards,
Christopher
0 Comments
See Also
Categories
Find more on EEG/MEG/ECoG 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!