Closed SoanKim closed 5 years ago
you don't have a stim channel in your raw file. Do you see annotations? raw.annotations ?
No, I get this error with raw.annotations :
AttributeError: 'EpochsEEGLAB' object has no attribute 'annotations'
My ".set" file was epoched on eeglab.
events are to make epochs. If you have epochs what are you trying to do?
You're right. Thank you. Actually, I wanted to run this code, but I think it's not the problem of epochs...
epochs = mne.read_epochs(path) (https://martinos.org/mne/stable/auto_examples/stats/plot_sensor_regression.html)
AttributeError: 'EpochsEEGLAB' object has no attribute 'endswith'
AttributeError Traceback (most recent call last)
it's hard for us to debug without the .set file and seeing the full code
I've uploaded my raw BrainProduct eegfiles('001.vhdr', '001.vmrk') and also pre-processed & artifac rejected ".set"files("001_sync.set", "001_sync.fdt", processed on ERPlab).https://github.com/SommersKim/EEG-ERP
After I loaded my files with "mne.io.read_epochs_brainvision" for my raw BrainProduct eegfiles, or "mne.io.read_epochs_eeglab" for my ".set"files,
I cannot run "epochs = mne.read_epochs(raw)".
Thank you...!!
@SommersKim please read the documentation.
how do you expect epochs = mne.read_epochs(raw)
to work? read_epochs reads from disk epochs. Why do you pass a raw object???
I am closing as I don't think it's a bug in the code.
Hello, I keep getting this error message. Could you please help me with how to find epochs? I've got these events : array([[ 51, 0, 1], [ 301, 0, 2], [ 551, 0, 3]... but I get this error message... Thank you!
IndexError Traceback (most recent call last)