TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
eeg_emptyset.m
Go to the documentation of this file.
1 % eeg_emptyset() - Initialize an EEG dataset structure with default values.
2 %
3 % Usage:
4 % >> EEG = eeg_emptyset();
5 %
6 % Outputs:
7 % EEG - empty dataset structure with default values.
8 %
9 % Author: Arnaud Delorme, CNL / Salk Institute, 2001
10 %
11 % See also: eeglab()
12 
13 % Copyright (C) 2001 Arnaud Delorme, Salk Institute, arno@salk.edu
14 %
15 % This program is free software; you can redistribute it and/or modify
16 % it under the terms of the GNU General Public License as published by
17 % the Free Software Foundation; either version 2 of the License, or
18 % (at your option) any later version.
19 %
20 % This program is distributed in the hope that it will be useful,
21 % but WITHOUT ANY WARRANTY; without even the implied warranty of
22 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 % GNU General Public License for more details.
24 %
25 % You should have received a copy of the GNU General Public License
26 % along with this program; if not, write to the Free Software
27 % Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 
29 % 01-25-02 reformated help & license -ad
30 
31 function EEG = eeg_emptyset();
32 
33 EEG.setname = '';
34 EEG.filename = '';
35 EEG.filepath = '';
36 EEG.subject = '';
37 EEG.group = '';
38 EEG.condition = '';
39 EEG.session = [];
40 EEG.comments = '';
41 EEG.nbchan = 0;
42 EEG.trials = 0;
43 EEG.pnts = 0;
44 EEG.srate = 1;
45 EEG.xmin = 0;
46 EEG.xmax = 0;
47 EEG.times = [];
48 EEG.data = [];
49 EEG.icaact = [];
50 EEG.icawinv = [];
51 EEG.icasphere = [];
52 EEG.icaweights = [];
53 EEG.icachansind = [];
54 EEG.chanlocs = [];
55 EEG.urchanlocs = [];
56 EEG.chaninfo = [];
57 EEG.ref = [];
58 EEG.event = [];
59 EEG.urevent = [];
60 EEG.eventdescription = {};
61 EEG.epoch = [];
62 EEG.epochdescription = {};
63 EEG.reject = [];
64 EEG.stats = [];
65 EEG.specdata = [];
66 EEG.specicaact = [];
67 EEG.splinefile = '';
68 EEG.icasplinefile = '';
69 EEG.dipfit = [];
70 EEG.history = '';
71 EEG.saved = 'no';
72 EEG.etc = [];
73 
74 %EEG.reject.threshold = [1 0.8 0.85];
75 %EEG.reject.icareject = [];
76 %EEG.reject.compreject = [];
77 %EEG.reject.gcompreject= [];
78 %EEG.reject.comptrial = [];
79 %EEG.reject.sigreject = [];
80 %EEG.reject.elecreject = [];
81 
82 %EEG.stats.kurta = [];
83 %EEG.stats.kurtr = [];
84 %EEG.stats.kurtd = [];
85 %EEG.stats.eegentropy = [];
86 %EEG.stats.eegkurt = [];
87 %EEG.stats.eegkurtg = [];
88 %EEG.stats.entropy = [];
89 %EEG.stats.kurtc = [];
90 %EEG.stats.kurtt = [];
91 %EEG.stats.entropyc = [];
92 
93 return;
eeg_emptyset
function eeg_emptyset()