[Mne_analysis] concatenate_epochs and subset of them

Lorenzo Alfine lorenzo.alfine at gmail.com
Thu Dec 15 09:19:54 EST 2016
Search archives:

Hi Jaakko,
that was very clear thank you!
I saw that you have already commited a fix on github, awesome!

Lorenzo

On 15 December 2016 at 14:58, Jaakko Leppakangas <jaeilepp at gmail.com> wrote:

> Hi,
>
> the first logging message is actually a bit misleading because it is only
> storing the baseline parameters. So the baselining actually only happens
> when the data is loaded (probably on concatenation in your case).
>
> If you construct the epochs by passing a dict as the event_id (see for
> example http://mne-tools.github.io/stable/auto_tutorials/plot_
> object_epochs.html), you can get a copy of the 'A' category by doing
> ``epochs['A']``.
>
> -Jaakko
>
> On Thu, Dec 15, 2016 at 2:03 PM, Lorenzo Alfine <lorenzo.alfine at gmail.com>
> wrote:
>
>> Dear mne users,
>> I´m dealing with a 3 blocks experiment and for each block I have a raw
>> object.
>> Then I´m epoching every raw object using the same event_id = [A, B, C, D].
>>
>> Later I concatenate the 3 epochs objects with:
>> epochs_merged = mne.concatenate_epochs([epochs1, epochs2, epochs3])
>>
>> First question, when concatenating, in the console I have the message:
>> *Applying baseline correction (mode: mean)* , but in the documentation I
>> can´t find any reference of it.
>> Since I already used baseline correction when creating epochs1, epochs2,
>> epochs3, could this additional correction generate any problem?
>>
>> Later I´m doing some processing on epochs_merged (AutoReject, ICA). Is it
>> possible to access a subset of epochs_merged, for example just the epochs
>> with the event A, and average them?
>> Otherwise I have to re-run the analysis on a newly created epochs object
>> with event_id = A, but I would prefer to avoid this, since from my
>> understanding ICA performs better with more data.
>>
>> Thank you in advance,
>>
>> LA
>>
>> MSc student, University of Padova
>>
>> _______________________________________________
>> 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.
>>
>>
>
> _______________________________________________
> 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/20161215/44c697d3/attachment-0001.html 


More information about the Mne_analysis mailing list