cPCOH-master

所属分类:其他
开发工具:matlab
文件大小:9812KB
下载次数:18
上传日期:2018-08-10 14:14:01
上 传 者诶我说
说明:  计算偏相干函数,很好的MATLAB代码实例
(Computing partial coherence function)

文件列表:
ExampleData.mat (10076936, 2018-06-17)
ExampleScript.m (3086, 2018-06-17)
functions (0, 2018-06-17)
functions\checkConfig.m (4451, 2018-06-17)
functions\computeCPCOH.m (10346, 2018-06-17)
functions\computeConsensus.m (4058, 2018-06-17)
functions\createCPCOHstruct.m (1477, 2018-06-17)
functions\getPermutations.m (3845, 2018-06-17)
functions\getSpectra.m (1634, 2018-06-17)
functions\loadpar.m (463, 2018-06-17)
functions\savepar.m (496, 2018-06-17)
functions\spectra2CPCOH.m (3375, 2018-06-17)

# Consensus-based Partial Coherence Partial coherence was introduced in Rosenberg et al., Journal of Neuroscience Methods, 19***. Like normal coherence, partial coherence captures the frequency-resolved correlation of a pair of interest. In computing the partial coherence, the influences of all other recording sites in the data set are conditioned out, hence removing spurious coherence introduced by shared inputs to the pair of interest, volume conduction, etc. Partial coherence can not be reliably computed for datasets that contain a high number of recording sites or few trials. Instead, conditioning can be performed using averages of randomly grouped recording sites. When this grouping is repeated multiple times a consensus partial coherence can be established, i.e. consensus-based partial coherence. This Matlab code implements the consensus-based partial coherence method presented in Ter Wal et al., NeuroImage, 2018 (https://doi.org/10.1016/j.neuroimage.2018.06.011) The code computes the time- and scale-resolved wavelet coherence across trials on FieldTrip-style data structures. It comes with a sample dataset and an example script that demonstrates how the code can be used. ## Prerequisites - Matlab (The MathWorks) - The code has been tested on several Matlab versions between R2014a and R2018a - Wavelet Toolbox for Matlab (The Mathworks) ## Getting started 1. Download the .zip and unzip or clone to your favourite path. 2. Make sure you Matlab path is set to include the code (Set path on Matlab's Home tab). 3. Walk through the example script. It demonstrates how to set up the config and call the computeCPCOH function. 4. Try it on your own data (NOTE: your data will have to organised as a FieldTrip data struct). ## License and disclaimer This code is free to use and modify for everyone, but comes without warranty. ## Citation If you find this code useful, please refer to the Github repository and cite the paper: - https://github.com/marijeterwal/cPCOH/ - Ter Wal et al., NeuroImage, 2018. https://doi.org/10.1016/j.neuroimage.2018.06.011

近期下载者

相关文件


收藏者