[Mne_analysis] Automatic artifact rejection on continuous data
Nico Adelhöfer
nico.adelhoefer at st.ovgu.de
Fri Jul 29 06:15:01 EDT 2016
This seems to work, thanks! At least when I check via pick_types.
However, when I use the parameter "reject=dict(eeg=200e-06)" in
mne.Epochs, it gives me the error: "No EEG channel found. Cannot
reject based on EEG." I used mne.Epochs with all channels.
Quoting Alexandre Gramfort <alexandre.gramfort at telecom-paristech.fr>:
>> This looks exactly like what I'd need, but I get the error
>>
>> "Cannot change channel type for channel O2 in projector "Average EEG
>> reference""
>>
>> I tried:
>>
>> raw.set_channel_types({'O1':'eog'})
>
> O2 is considered EEG channel when constructing the SSP projection for
> average referencing.
> You cannot change it to EOG unless you flush the SSP vector and create
> it again from scratch.
>
> you can do something like this:
>
> raw.info['projs'] = [] # remove all present projs
> raw.set_channel_types({'O1':'eog'})
> raw.add_proj(make_eeg_average_ref_proj(raw.info, activate=False))
>
> HTH
> Alex
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to
> you in error
> but does not contain patient information, please contact the sender
> and properly
> dispose of the e-mail.
More information about the Mne_analysis
mailing list