how to open st file

조회 수: 31 (최근 30일)
Anastasis 2022년 7월 18일
댓글: Anastasis 2022년 7월 20일
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

채택된 답변

Anastasis 2022년 7월 18일
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.
  댓글 수: 4
Christopher McCausland
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?
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 :)
Anastasis 2022년 7월 20일
Hi Christopher,
Thank you very much for your reply.I used 2 different ways to find the information i want.The first one is what you have done.The second is using Lightwave.Lightwave is an online tool for that database and appears both signals and annotations.So i got all the information i wanted.Thanks again

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Christopher McCausland
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,


Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by