-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPPC_init_disc.m
More file actions
114 lines (104 loc) · 3.48 KB
/
Copy pathPPC_init_disc.m
File metadata and controls
114 lines (104 loc) · 3.48 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
% PPC_init
%% used for cluster runs of the PPC_comparison script. Paths and parameters are put into a cfg struct here.
addpath(genpath('/dartfs-hpc/rc/home/r/f00287r/Code/EC_Multisite'))
addpath(genpath('/dartfs-hpc/rc/home/r/f00287r/Code/vandermeerlab/code-matlab/shared'))
addpath('/dartfs-hpc/rc/home/r/f00287r/Code/fieldtrip')
% addpath(genpath('/Users/jericcarmichael/Documents/GitHub/vandermeerlab/code-matlab/shared'))
% addpath('/Users/jericcarmichael/Documents/GitHub/fieldtrip')
% ft_defaults
% addpath(genpath('/Users/jericcarmichael/Documents/GitHub/EC_Multisite'))
ft_defaults
data_root = '/dartfs-hpc/rc/lab/M/MeerM/EC';
mkdir(data_root, 'PPC_figs')
nShuffle = 100;
%%
disp('112 ST1 ...')
cfg_in = [];
cfg_in.dataset = {'CSC1.ncs'};
cfg_in.data_dir = [data_root '/R112-2017-07-31_post'];
cfg_in.inter_dir = [data_root '/PPC_figs'];
cfg_in.phase = 1; % corresponds to the first recording phase ('pre'). 2 = 'task', 3 = 'post'.
cfg_in.shuffle = nShuffle;
cfg_in.plot = 1;
cfg_in.min_nSpikes = 500;
cfg_in.spike_id = 'ST1_SS';
PPC_comparison_CG(cfg_in);
disp('complete')
%%
disp('112 St1 ...')
cfg_in = [];
cfg_in.dataset = {'CSC1.ncs'};
cfg_in.data_dir = [data_root '/R112-2017-08-01_post'];
cfg_in.inter_dir = [data_root '/PPC_figs'];
cfg_in.phase = 1; % corresponds to the first recording phase ('pre'). 2 = 'task', 3 = 'post'.
cfg_in.shuffle = nShuffle;
cfg_in.plot = 1;
cfg_in.min_nSpikes = 500;
cfg_in.spike_id = 'ST1_cut';
PPC_comparison_CG(cfg_in);
disp('complete')
%%
disp('112 ST6 ...')
cfg_in = [];
cfg_in.dataset = {'CSC12.ncs'};
cfg_in.data_dir = [data_root '/R112-2017-08-01_post'];
cfg_in.inter_dir = [data_root '/PPC_figs'];
cfg_in.phase = 1; % corresponds to the first recording phase ('pre'). 2 = 'task', 3 = 'post'.
cfg_in.shuffle = nShuffle;
cfg_in.plot = 1;
cfg_in.min_nSpikes = 500;
cfg_in.spike_id = 'ST6_cut';
%PPC_comparison_CG(cfg_in);
%disp('complete')
%%
disp('108 ST3 ...')
%cfg_in = [];
%cfg_in.dataset = {'CSC5.ncs'};
%cfg_in.data_dir = [data_root '/R108-2017-08-04_pre'];
%cfg_in.inter_dir = [data_root '/PPC_figs'];
%cfg_in.phase = 1; % corresponds to the first recording phase ('pre'). 2 = 'task', 3 = 'post'.
%cfg_in.shuffle = nShuffle;
%cfg_in.plot = 1;
%cfg_in.min_nSpikes = 500;
%cfg_in.spike_id = 'ST3_cut';
%PPC_comparison_CG(cfg_in);
%disp('complete')
%%
disp('108 TT7 ...')
cfg_in = [];
cfg_in.dataset = {'CSC16.ncs'};
cfg_in.data_dir = [data_root '/R108-2017-08-04_pre'];
cfg_in.inter_dir = [data_root '/PPC_figs'];
cfg_in.phase = 1; % corresponds to the first recording phase ('pre'). 2 = 'task', 3 = 'post'.
cfg_in.shuffle = nShuffle;
cfg_in.plot = 1;
cfg_in.min_nSpikes = 500;
cfg_in.spike_id = 'TT7_cut';
PPC_comparison_CG(cfg_in);
disp('complete')
%%
disp('123 TT1 ...')
cfg_in = [];
cfg_in.dataset = {'CSC1.ncs'};
cfg_in.data_dir = [data_root '/R123-2017-02-27_pre2'];
cfg_in.inter_dir = [data_root '/PPC_figs'];
cfg_in.phase = 1; % corresponds to the first recording phase ('pre'). 2 = 'task', 3 = 'post'.
cfg_in.shuffle = nShuffle;
cfg_in.plot = 1;
cfg_in.min_nSpikes = 500;
cfg_in.spike_id = 'TT1_cut';
PPC_comparison_CG(cfg_in);
disp('complete')
%%
disp('123 TT4 ...')
cfg_in = [];
cfg_in.dataset = {'CSC16.ncs'};
cfg_in.data_dir = [data_root '/R123-2017-02-27_pre2'];
cfg_in.inter_dir = [data_root '/PPC_figs'];
cfg_in.phase = 1; % corresponds to the first recording phase ('pre'). 2 = 'task', 3 = 'post'.
cfg_in.shuffle = nShuffle;
cfg_in.plot = 1;
cfg_in.min_nSpikes = 500;
cfg_in.spike_id = 'TT4_cut';
PPC_comparison_CG(cfg_in);
disp('complete')