-
Notifications
You must be signed in to change notification settings - Fork 17
/
preprocNormalize_GetMetaParams.m
36 lines (35 loc) · 1.59 KB
/
preprocNormalize_GetMetaParams.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
function params = preprocNormalize_GetMetaParams(argNum)
% Usage: params = preprocNormalize_GetMetaParams(argNum)
%
% Get meta-parameters for preprocNormalize
%
% ML 2013.03.21
params.class = 'preprocNormalize';
switch argNum
case 1
% Original arguments recmomended by SN
params.valid_w_index = []; % specific index of channels to keep (overrides .reduceChannels)
params.reduceChannels = []; % number of channels / pct of channels to keep
params.normalize = 'zscore'; % normalization method
params.crop = []; % min/max to which to crop; empty does nothing
case 2
params.valid_w_index = [];
params.reduceChannels = []; %
params.normalize = 'gaussianize';
params.crop = [];
case 3
% Original arguments recmomended by SN; crops to [-3.5,3.5]
params.valid_w_index = []; % specific index of channels to keep (overrides .reduceChannels)
params.reduceChannels = []; % number of channels / pct of channels to keep
params.normalize = 'zscore'; % normalization method
params.crop = [-3.5,3.5]; % min/max to which to crop; empty does nothing
case 4
% blank for now...
case 5
% Original arguments recmomended by SN; crops to [-5,5]
params.valid_w_index = []; % specific index of channels to keep (overrides .reduceChannels)
params.reduceChannels = []; % number of channels / pct of channels to keep
params.normalize = 'zscore'; % normalization method
params.crop = [-5,5]; % min/max to which to crop; empty does nothing
params.useTrnParams = true;
end