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
조회 수: 24 (최근 30일)
이전 댓글 표시
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
채택된 답변
Anastasis
2022년 7월 18일
댓글 수: 4
Christopher McCausland
2022년 7월 19일
편집: Christopher McCausland
2022년 7월 19일
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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1071000/image.png)
Giving a useable tab seperated output that looks like this, signals first, annotations in the AUX colum of the bottom image; (W for wake)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1071005/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1071015/image.png)
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
추가 답변 (1개)
Christopher McCausland
2022년 7월 18일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!