how to open st file

14 visualizaciones (últimos 30 días)
Anastasis
Anastasis el 18 de Jul. de 2022
Comentada: Anastasis el 20 de Jul. de 2022
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

Respuesta aceptada

Anastasis
Anastasis el 18 de Jul. de 2022
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 comentarios
Christopher McCausland
Christopher McCausland el 19 de Jul. de 2022
Editada: Christopher McCausland el 19 de Jul. de 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
Anastasis
Anastasis el 20 de Jul. de 2022
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

Iniciar sesión para comentar.

Más respuestas (1)

Christopher McCausland
Christopher McCausland el 18 de Jul. de 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

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by