-
Notifications
You must be signed in to change notification settings - Fork 1
/
getEmpty2DDataset.m
48 lines (44 loc) · 1.18 KB
/
getEmpty2DDataset.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
% Returns an empty 2D dataset (i.e. for EEG-data).
%
% Author: Maurice Hollmann
% Date : 08/07
%
% Description:
%
% [dataset] = getEmpty2DDataset()
%
% Returns an empty 2D dataset (i.e. for EEG-data) , that can be "filled" with content.
% This is aequivalent to getEmpty4DDataset() in 4D case (i.e. fMRI time series).
%
% Returned sructure:
%
% dataset.type = 'dataset2D';
% dataset.is4D = false;
% dataset.is2D = true;
% dataset.data2D = [];
% dataset.chunks = [];
% dataset.classIDs = [];
% dataset.mask = [];
% dataset.featureSelectionMap = [];
% dataset.processingHistory = {};
%
% Parameters:
%
% Returns:
%
% dataset -> empty dataset
%
% Comments:
%
function [dataset] = getEmpty2DDataset()
dataset = {};
dataset.type = 'dataset2D';
dataset.is4D = false;
dataset.is2D = true;
dataset.data = [];
dataset.chunks = [];
dataset.classIDs = [];
dataset.mask = [];
dataset.featureSelectionMap = [];
dataset.processingHistory = {};
end