This repository has been archived by the owner on Jun 1, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinfo_neckersd.m
76 lines (68 loc) · 2.53 KB
/
info_neckersd.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
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
function info = info_neckersd
%INFO_NECKERSD create basic info for NECKERSD study
%-------------------------------------%
%-INFO--------------------------------%
%-------------------------------------%
%-----------------%
%-project folder
info = [];
% name of the project according to /data1/projects/PROJNAME/
info.proj = 'neckersd';
% name to be used in PROJNAME/subjects/0001/MOD/CONDNAME/
% ideally identical to info.proj
info.nick = 'neckersd';
%-----------------%
%-----------------%
%-recording folder
% name of the recordings according to /data1/recordings/RECNAME/
info.rec = 'vigd';
% name of the modality used in recordings ('eeg' or 'meg')
info.mod = 'eeg';
%-----------------%
%-------------------------------------%
%-------------------------------------%
%-DIRECTORIES-------------------------%
%-------------------------------------%
%-----------------%
[~, host] = system('hostname');
if strcmp(host(end-12:end-1), 'partners.org')
info.home = '/PHShome/gp902/';
elseif strcmp(host(end-7:end-1), 'knaw.nl')
info.home = '/home/piantoni/';
else
info.home = '/data1/';
end
%-----------------%
info.base = [info.home 'projects/' info.proj filesep];
info.recd = [info.base 'recordings/' info.rec filesep];
info.recs = [info.recd 'subjects/'];
info.scrp = [info.base 'scripts/' info.nick filesep]; % working directory which contains the current file % <- FIXTHIS
info.qlog = [info.scrp 'qsublog/']; % use to keep log files from SGE
info.data = [info.base 'subjects/'];
info.anly = [info.base 'analysis/'];
info.rslt = [info.base 'results/' info.nick filesep]; % folder to save images
info.dpow = [info.anly 'pow/'];
info.dcor = [info.anly 'corr/'];
%-----------------%
%-------------------------------------%
%-------------------------------------%
%-DATASET-----------------------------%
%-------------------------------------%
%-----------------%
%-elec info
info.sens.file = [info.scrp 'mri2lead/easycap_61_FT.mat']; % it uses 'elec' with 'E1' electrode names
info.sens.dist = 50; % same units as channel location
info.sens.layout = [info.scrp 'mri2lead/easycap_61_FT.mat'];
%-----------------%
%-----------------%
%-source info
info.vol.type = 'template'; % 'template' or 'dipoli' ('dipoli' 'bemcp' 'openmeeg' and the rest use subject-specific MRI)
if strcmp(info.vol.type, 'template')
info.vol.template = [info.scrp 'mri2lead/vigd_volleadsens_spmtemplate_dipoli.mat'];
else
info.vol.mod = 'smri';
info.vol.cond = 't1';
end
info.sourcespace = 'volume'; % 'surface' or 'volume' or 'volume_warp'
%-----------------%
%-------------------------------------%