forked from WinawerLab/Paper_Hermes_2015_CerCortex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
master_makethefigures.m
41 lines (25 loc) · 914 Bytes
/
master_makethefigures.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% download the Chronux toolbox (Mitra and Bokil, 2008) http://www.chronux.org
% make sure it is in your path (added in ecogGammaAddPaths)
% check whether chronux is in the path:
if exist('mtspecgramc','file')==0
disp('ERROR: make sure Chronux is in your Matlab path')
end
%% set the root paths and add the correct paths:
ecogGammaAddPaths
%% Make figure 1
make_figure1
% reproduces panels B and C of figure 1 from the paper
%% Make figure 2
make_figure2
% reproduces panels A and B of figure 2 from the paper
%% Make figure 3
make_figure3
% reproduces panels B and C of figure 3 from the paper
% function generates 14 figures, one for each pannel, with narrowband and broadband
% weights for all electrodes for each stimulus
%% Make figure 4
make_figure4
% reproduces panel B from figure 4 from the paper
%% Make figure 5
make_figure5
% reproduces panels A and B from figure 5 from the paper