Nzpl

Dear Fieldtrip developers

I have made some modifications to the Fieldtrip code to accommodate a new connectivity analysis method I've developed, non-zero phase lagged (NZPL) coherence (Drakesmith et al, 2013,  doi:10.1371/journal.pone.0081553). I trust these modifications will be of use to the FieldTrip community. I have written a quick guide to the modifications I have made here:

https://www.dropbox.com/s/rdke679adqwxy4m/NZPL%20IN%20FIELDTRIP.docx

 The main modification is the addition of a new cfg option in ft_freqanalysis (cfg.output = ‘eigcomplx’), which calls a sub function to perform the eigendecomposition. 

In addition there are modifications to some the connectivity analysis and plotting functions to facilitate visualisation of connectivity. 

There are also modifications to the DICS analysis and some associated sourceanalysis functions to enable more efficient computation of whole-brain source connectivity.

This is my first time using git-hub to share code like this so please accept my apologies if there is something I have not done correctly.

If you have any queries please let me know. 

Many thanks

Mark