[Mne_analysis] Concatenate preprocessed epochs

Alexandre Gramfort alexandre.gramfort at inria.fr
Tue Oct 3 05:30:14 EDT 2017
Search archives:

Dear Dirk,

if you interpolate the bads so you end up with only good channels it should
work no?

Alex


On Tue, Oct 3, 2017 at 11:25 AM, Dirk van Moorselaar <
dirkvanmoorselaar at gmail.com> wrote:

> Hello,
>
> I have a follow up question on a question that I asked previously.
> In my experiment I have collected data into seperate sessions, on separate
> days. I apply preprocessing (artefact detection, Ica, bad electrode
> selection) on these sessions separately and after preprocessing and spline
> interpolation to correct bad channels I would like to combine these
> separate sessions int a single -epo.fif file.
>
> To do this I use mne.concatenate_epochs(). However, this fails and gives
> me an assertion error. I understood from my previous question that to get
> this to work  I need to remove the bad channels from both sessions (even if
> we are dealing with separate channels in the two sessions) and then use
> interpolation on the concatenated data before further processing.
>
> At first sight I do not necessarily like this solution as in some cases I
> have to remove perfectly fine channels from one session, even though their
> signal was good  in that session. Is there a workaround that still allows
> you to concatenate epochs, but does not force you to have the same channels
> marked as bad in both sessions?
>
> Thank you again,
>
> Dirk
>
>
> _______________________________________________
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171003/51627536/attachment-0001.html 


More information about the Mne_analysis mailing list