mne-python icon indicating copy to clipboard operation
mne-python copied to clipboard

Using CHB-MIT seizure dataset in EDF format

Open syedumaramin opened this issue 9 years ago • 12 comments

I was wondering how could I use MNE for CHB-MIT seizure dataset classification which does not have stim channel and hence I can not find events.

syedumaramin avatar Sep 27 '17 08:09 syedumaramin

please share a file or tell us what you typed to try

agramfort avatar Sep 27 '17 11:09 agramfort

the CHB-MIT eeg database has no annotation channel so how can I use MNE to find events like seizure. It gives error that " no STIM channel found

syedumaramin avatar Sep 27 '17 11:09 syedumaramin

how are stored the annotations? in the edf file?

please give me an example file

agramfort avatar Sep 27 '17 11:09 agramfort

Here is the link for the files. These are edf files and seperate annotation file but no annotation channel https://physionet.org/physiobank/database/chbmit/

syedumaramin avatar Sep 27 '17 11:09 syedumaramin

I have no problem reading a file with current master:

raw = mne.io.read_raw_edf('chb01/chb01_01.edf', stim_channel='auto')

the annotation of seizures are stored outside of the edf AFAIK see eg chb01_03.edf.seizures

don't bother about stim channel

agramfort avatar Sep 27 '17 12:09 agramfort

thanks but how can i find events for classification purpose

syedumaramin avatar Sep 27 '17 12:09 syedumaramin

Ho can I find events in a file with no annotation channel

syedumaramin avatar Sep 27 '17 13:09 syedumaramin

you need to read the seizure file and do the maths to know where it corresponds to in the file. this is not an MNE problem.

agramfort avatar Sep 27 '17 14:09 agramfort

@agramfort , thanks

syedumaramin avatar Sep 27 '17 17:09 syedumaramin

hi @syedumaramin can you share how did you manage to read the .seizure file? i am a beginner in this EEG im having difficulty to read the .seizure using mne. Thank you so much

nurinathirahh avatar Mar 11 '21 16:03 nurinathirahh

Can anyone share the pre-processing code of CHB-MIT dataset. I am new in EEG and facing difficulty to read the files. My email - [email protected]

Thank you

saiful1604008 avatar May 29 '22 15:05 saiful1604008

@saiful1604008 please use the MNE forum for usage questions. https://mne.discourse.group

drammock avatar May 29 '22 16:05 drammock