[Mne_analysis] Eye artifact removal using ICA
alexandre.gramfort at inria.fr
Sat Jul 28 02:55:30 EDT 2018
External Email - Use Caution
you look at ICA components and one looks like the EOG artifacts
just exclude it manually by setting ica.exclude attribute.
On Fri, Jul 27, 2018 at 10:25 PM Neelesh Kumar <neelesh314 at gmail.com> wrote:
> External Email - Use Caution
> Hi all,
> I am trying to remove all eye artifacts from an EEG recording with an EOG
> channel using ICA (following the tutorial on MNE). I applied a bandpass
> filter (1 and 40Hz) to the signal and removed the default average
> reference. Then I fit ICA as follows:
> picks = mne.pick_types(raw.info, eeg= True, eog= True, stim= False,
> exclude= 'bads')
> ica= ICA(n_components=25, method='fastica', random_state=1)
> ica.fit(raw, picks=picks, decim=3)
> eog_epochs=create_eog_epochs(raw, ch_name='EXG1')
> eog_inds, scores= ica.find_bads_eog(eog_epochs)
> As an output, this says only 2 EOG events detected (when there are many
> more blinks). I can add the reject criteria with reject=dict(eog=threshold)
> but I do not know what threshold to choose. I am relatively new to MNE.
> I am attaching the link to the file, if it helps.
> Thanks for all your help! Really appreciate it.
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> The information in this e-mail is intended only for the person to whom it
> addressed. If you believe this e-mail was sent to you in error and the
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> but does not contain patient information, please contact the sender and
> dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mne_analysis