angiecoronel12 / Sleep_Stage

This is a project that aims to use neural networks to classify sleep stages from EEG signals in a population of healthy subjects. The database belongs to Physionet.
1 stars 0 forks source link

Convert edf to csv #1

Open Anaaeni opened 3 months ago

Anaaeni commented 3 months ago

Hi angie, may i know how did u convert dataset from sleep edf expanded physionet from edf file to csv? Cause currently i'm struggling with that, cause each subject have almost 8 million data

angiecoronel12 commented 3 months ago

Hi Nana, I utilized the functions from this repository and performed all the conversions in MATLAB. Have you come across this repository before? In my case, I had to modify some of the functions to get them to work properly. If you'd like, I can also share the .csv data for 2 nights from 10 subjects. I hope this is helpful to you! https://github.com/anasimtiaz/sleep-edfx-toolbox

El lun, 19 ago 2024 a las 3:36, Nana @.***>) escribió:

Hi angie, may i know how did u convert dataset from sleep edf expanded physionet from edf file to csv? Cause currently i'm struggling with that, cause each subject have almost 8 million data

— Reply to this email directly, view it on GitHub https://github.com/angiecoronel12/Sleep_Stage/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJL7S2LXQOBNJME6WUITCLLZSGU7DAVCNFSM6AAAAABMXLDOE6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3TENZYG43TAMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

"La información aquí contenida es para uso exclusivo de la persona o entidad de destino. Está estrictamente prohibida su utilización, copia, descarga, distribución, modificación y/o reproducción total o parcial, sin el permiso expreso de Universidad de Antioquia, pues su contenido puede ser de carácter confidencial y/o contener material privilegiado. Si usted recibió esta información por error, por favor contacte en forma inmediata a quien la envió y borre este material de su computador. Universidad de Antioquia no es responsable por la información contenida en esta comunicación, el directo responsable es quien la firma o el autor de la misma."

-- UdeA

Anaaeni commented 3 months ago

Hi Angie

Thanks for the information! I have come across that repository before but unfortunately i don't have MATLAB. I'd really appreciate it if you could share the .csv data file.

Thanks Angie!

angiecoronel12 commented 3 months ago

Of course, share your email address with me

Anaaeni commented 3 months ago

this is my email: @.*** Thank you angie for your help, this is really helpful for me

On Thu, Aug 22, 2024, 04:18 Angie Liseth Coronel @.***> wrote:

Of course, share your email address with me

— Reply to this email directly, view it on GitHub https://github.com/angiecoronel12/Sleep_Stage/issues/1#issuecomment-2303029508, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIPB4P7EYU6GRZOSPMFNKV3ZST7YXAVCNFSM6AAAAABMXLDOE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBTGAZDSNJQHA . You are receiving this because you authored the thread.Message ID: @.***>

angiecoronel12 commented 3 months ago

I can't see your email address, but I'll leave you a link to the .zip file in drive. You'll find a .csv file with the EEG (fpz), EMG, EOG signals, and a .txt file with related information and the hypnogram for each subject of Cassette database. To align the hypnogram with the signals, remember that the sampling frequency is 100Hz and the epoch length is 30 seconds. https://drive.google.com/file/d/1m3GYy1dPoWy-TPGAG03E9H2YBIDBUEqM/view?usp=sharing

Anaaeni commented 3 months ago

i'm sorry i don't know that it would be got censored here. thank you very much for generously sharing your file with me. it’s incredibly helpful for me, and i truly appreciate your willingness to help! Have a great day angie!

angiecoronel12 commented 3 months ago

I hope it was helpful you!!!