[FieldTrip] phase distribution

Jose joseluisblues at gmail.com
Sat Dec 17 19:27:06 CET 2016

> ------------------------------
> Message: 2
> Date: Fri, 16 Dec 2016 12:13:39 +0000
> From: "Bastiaansen, Marcel" <Bastiaansen4.M at nhtv.nl>
> To: "'fieldtrip at science.ru.nl'" <fieldtrip at science.ru.nl>
> Subject: [FieldTrip] phase distribution
> Message-ID:
>         <AE9D26956CEFAE42A45BC46C51E0C6655C560E3F at Exch-Db01.dom1.nhtv.nl>
> Content-Type: text/plain; charset="us-ascii"
> Dear Fieldtrippers,
> I want to analyze data from an EEG experiment in which I split trials from
> one participant in two sets based on some response criterion.
> I want to know how (absolute) phase at a particular point in time (say
> t=0) is distributed within each set of trials, and whether there is (on
> average) a difference in absolute phase between the two sets of trials.
> I have found a matlab toolbox (circ_stats) that allows me to plot circular
> phase data, do tests on phase distributions, and to compare two
> distributions, but I would like to use Fieldtrip to extract the
> instantaneous phase angles (radians or degrees) from the single trials for
> a given point in time using multitapers (which I believe is the preferred
> method for this, right?).
> Browsing through the Fieldtrip discussion archive, I haven't been able to
> find a dedicated Fieldtrip function for that, but I am sure that functions
> such as  ft_mtmconvol do compute absolute phase at some point...
> Can anyone give me advise on how to achieve my goal?
> Thanks,
> Marcel.
> ***
> Dr Marcel C.M. Bastiaansen
> Lecturer and researcher in quantitative research methods
> Academy for Leisure & Academy for Tourism
> NHTV Breda University of Applied Sciences
> Visiting adress:
> Room C1.011, Academy for Leisure
> Archimedesstraat 17,
> 4816 BA, Breda
> Phone: +31 76 533 2869
> Email: bastiaansen4.m at nhtv.nl<mailto:bastiaansen4.m at nhtv.nl>
> And
> Department of Cognitive Neuropsychology
> Tilburg School of Social and Behavioral Sciences
> Tilburg University
> Visiting address:
> Room S217, Simon building
> Warandelaan 2
> 5000 LE Tilburg
> Email: M.C.M.Bastiaansen at uvt.nl<mailto:M.C.M.Bastiaansen at uvt.nl>
> publications<https://scholar.google.nl/citations?hl=en&
> view_op=list_works&gmla=AJsN-F5MJ8q_0925xM3GL1HwKMWkGTQGnfGN0Ofdsk
> oTXoB9cHMSkWFYZRW6Bp8iwksfnsTgAKylZkZ6NqoYRJj6skmxruDP8Q&user=u4iWSLoAAAAJ
> >
> linked-in<https://www.linkedin.com/profile/view?id=
> AAMAAAHu0sABfdcxLjPvTgFyfucAZvQQcwfJXi0&trk=hp-identity-name>
> ***

hi Marcel,

It seems you want to compute the clustering of phases across trials (a.k.a.
inter-trial phase clustering, ITPC). From what I've seen in Fieldtrip there
is no direct way to compute the ITPC, but it can be easily done with
abs(mean(exp(1i*phaseTimeSeries))) once you have the phase time series. You
can apply the function 'angle' to your analytic signal which is obtained
with any of the method that Fieldtrip has to decompose your signal (see
http://www.fieldtriptoolbox.org/tutorial/timefrequencyanalysis) and by
setting the parameter cfg.output = 'fourier' when you call the
ft_freqanalysis function (see

>From what I know, please correct if I'm wrong, there is no preferred method
to do this. Multitaper is the preferred method to analyse fast oscillations
like gamma, but for ITPC any method that allow you to have phase time
series is enough,

Finalize for the statistical analysis, this can be done using
non-parametric methods, and these functions are indeed implemented in
Fieldtrip (see
http://www.fieldtriptoolbox.org/tutorial/eventrelatedstatistics) so there
must be a way to do this, otherwise you can implement your own permutation
tests in Matlab,

The book (chapter 19 and 34) and web of Mike Cohen (http://mikexcohen.com/)
are excellent resources to implement all these calculations,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20161217/31399f7c/attachment-0002.html>

More information about the fieldtrip mailing list