[Mne_analysis] combine_epochs {Disarmed}
Edoardo Pinzuti
edoardo.pinzuti at gmail.com
Mon Nov 2 15:39:51 EST 2020
External Email - Use Caution
but here I crop the data with the same length and the 711 refers to the
number of events (both task and baseline have 711).
I can not compute on the original epochs because the baseline is not
directly adjacent to the task cue, including more time points will have an
effect on the csd estimation
Il giorno lun 2 nov 2020 alle ore 21:32 Alexandre Gramfort <
alexandre.gramfort at inria.fr> ha scritto:
> External Email - Use Caution
>
> hi,
>
> you cannot concatenate epochs which do not have the same number of time
> samples.
>
> you could compute the CSD for each and average them but it may not work if
> the
> Fourier resolutions differ.
>
> Therefore I am not sure it's an ideal solution. Why not computing the
> CDS on the original epochs
> that contain the baseline?
>
> A
>
> On Mon, Nov 2, 2020 at 1:49 PM Edoardo Pinzuti
> <edoardo.pinzuti at gmail.com> wrote:
> >
> > External Email - Use Caution
> >
> > Dear MNE team,
> >
> > I need to compute the csd on pool conditions and baseline together. So I
> cropped the task segment and baseline period and tried to create a new
> epoch to pass it to the csd estimation but i get the error
> >
> > poolEpochs=mne.concatenate_epochs([epochs_tasks, epochs_base])
> > ValueError: selection must be shape (711,) got shape (1422,)
> >
> > Thanks
> >
> > _______________________________________________
> > Mne_analysis mailing list
> > Mne_analysis at nmr.mgh.harvard.edu
> >
> https://secure-web.cisco.com/16qaYZetlslicw7V4hwqFUQANFZyDgOLgJfEptAibNdFra79Q-4tqIH-FptWEbM0QLdJ9jtxXyXZXrBuSkNJ1Ye7kP1rrzVaZtlhM19R4FN2xT8ABp4ipCHQM-dKhJu0q8Jw_ALujU5h8Vte6U5lAOrf9q1_datkjOGKnb57n7eWfsW1yzUHQsxzTsbtDOysbLIq3zqLraofcfLnQsAcGcQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Fmne_analysis
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://secure-web.cisco.com/1Zhf5RV5WK4jpvymU16X8D5d-SLKKoTnXWfNj5pIE7E1MDddtbcM0p57vU7YKpF5ocNTi7LqaBD_X4_eLr-h1h5_9AceArUT-48FY6o_bhaH9OCGyuEDNCQQ83fjQVTTjOaPHJmPHxBNWulYJQCoIqDloMkoji9iWCLYN5liDyKQEq5NAxwA-SHsHGxZyfqMnOnl4T0cjMnaDZ7XC5tqq_Q/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Fmne_analysis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201102/8dac5aea/attachment.html
More information about the Mne_analysis
mailing list