Mercurial > hg > scatter_reeval
annotate reeval/features/set_filt1_options.m @ 4:a1f6a08f624c tip
Completed version 0.0.2
author | Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk> |
---|---|
date | Tue, 03 Nov 2015 21:24:41 +0000 |
parents | b1cd83874633 |
children |
rev | line source |
---|---|
f@2 | 1 function [filt1_opt] = set_filt1_opt(experiment) |
f@2 | 2 |
f@2 | 3 switch(experiment) |
f@2 | 4 |
f@2 | 5 case 'mfcc_740ms' |
f@2 | 6 filt1_opt.wavelet_type = {'gabor', 'morlet'}; |
f@2 | 7 filt1_opt.Q = [8 2]; |
f@2 | 8 filt1_opt.boundary = 'symm'; |
f@2 | 9 case {'time_scat_l1', 'time_scat_l2'} |
f@4 | 10 filt1_opt.filter_type = {'gabor_1d', 'morlet_1d'}; |
f@2 | 11 filt1_opt.Q = [8 2]; |
f@2 | 12 case {'time_freq_scat_l2', 'time_freq_scat_l2_adap_q1'} |
f@4 | 13 filt1_opt.filter_type = {'gabor_1d', 'morlet_1d'}; |
f@2 | 14 filt1_opt.Q = [8 1]; |
f@2 | 15 case 'time_scat_l3' |
f@4 | 16 filt1_opt.filter_type = {'gabor_1d', 'morlet_1d', 'morlet_1d'}; |
f@2 | 17 filt1_opt.Q = [8 2 1]; |
f@2 | 18 otherwise |
f@2 | 19 error(['Unknown experiment ', experiment, '. Aborting']); |
f@2 | 20 end |
f@2 | 21 |
f@2 | 22 filt1_opt.J = T_to_J(8192*2, filt1_opt); |
f@2 | 23 |
f@2 | 24 end |