[Mne_analysis] [mne-python] use spectral_connectivity on a single epoch

Alexandre Gramfort alexandre.gramfort at telecom-paristech.fr
Fri Aug 8 11:06:24 EDT 2014
Search archives:

hi mads,

just call spectral_connectivity on each epoch.

for k in range(len(epochs)):
    out = spectral_connectivity(epochs[k], ...)
    ....

or something along these lines.

HTH
Alex

On Thu, Aug 7, 2014 at 2:34 PM, Mads Jensen <mje.mads at gmail.com> wrote:
> Hi all,
>
> Using mne-python, is it possible to use spectral_connectivity on a
> single epoch at a time.
>
> I have a single subject and I would like to calculate the Phase-Locking
> Value (or similar "connectivity" measure) on single trial basis. As I
> understand the output of the spectral_connectivity the returned object
> is one value and not one per epoch. Is it possible to get it to return a
> value per epoch or does that simply not make any sense to do?
>
> thanks,
> mads
> _______________________________________________
> 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